C# Class ComponentFactory.Quicksilver.Layout.RadialLayout

Arranges child elements in a radial pattern.
Inheritance: Layout
显示文件 Open project: ComponentFactory/Quicksilver Class Usage Examples

Public Properties

Property Type Description
CircleProperty System.Windows.DependencyProperty
EndAngleProperty System.Windows.DependencyProperty
StartAngleProperty System.Windows.DependencyProperty

Public Methods

Method Description
MeasureChildren ( string layoutId, MetaPanelBase metaPanel, MetaElementStateDict stateDict, ICollection elements, Size availableSize ) : Size

Measure the layout size required to arrange all elements.

TargetChildren ( string layoutId, MetaPanelBase metaPanel, MetaElementStateDict stateDict, ICollection elements, Size finalSize ) : void

Calculate target state for each element based on layout algorithm.

Private Methods

Method Description
RadialLayout ( ) : System

Method Details

MeasureChildren() public method

Measure the layout size required to arrange all elements.
public MeasureChildren ( string layoutId, MetaPanelBase metaPanel, MetaElementStateDict stateDict, ICollection elements, Size availableSize ) : Size
layoutId string Identifier of the layout to be used.
metaPanel MetaPanelBase Reference to owning panel instance.
stateDict MetaElementStateDict Dictionary of per-element state.
elements ICollection Collection of elements to be measured.
availableSize System.Windows.Size Available size that can be given to elements.
return System.Windows.Size

TargetChildren() public method

Calculate target state for each element based on layout algorithm.
public TargetChildren ( string layoutId, MetaPanelBase metaPanel, MetaElementStateDict stateDict, ICollection elements, Size finalSize ) : void
layoutId string Identifier of the layout to be used.
metaPanel MetaPanelBase Reference to owning panel instance.
stateDict MetaElementStateDict Dictionary of per-element state.
elements ICollection Collection of elements to be arranged.
finalSize System.Windows.Size Size that layout should use to arrange child elements.
return void

Property Details

CircleProperty public_oe static_oe property

Identifies the Circle dependency property.
public static DependencyProperty,System.Windows CircleProperty
return System.Windows.DependencyProperty

EndAngleProperty public_oe static_oe property

Identifies the EndAngle dependency property.
public static DependencyProperty,System.Windows EndAngleProperty
return System.Windows.DependencyProperty

StartAngleProperty public_oe static_oe property

Identifies the StartAngle dependency property.
public static DependencyProperty,System.Windows StartAngleProperty
return System.Windows.DependencyProperty