CircularPanel
A custom panel control class that provides a circular layout for its children items.
public class CircularPanel : Panel
Inherits from / implements: Panel
Members at a glance
CircularPanel | Initializes a new instance of the CircularPanel class. |
AngleCalculationStrategy | Gets or sets the angle calculation strategy. |
ItemsClosenessFactor | Gets or sets the items closeness factor. |
ItemsGapAngleFactor | Gets or sets the items gap angle factor. |
RenderAngle | Gets or sets the render angle. |
ArrangeOverride | When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class. |
MeasureOverride | When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class. |
AngleCalculationStrategyProperty | The angle calculation strategy property |
ItemsClosenessFactorProperty | The items closeness factor property |
ItemsGapAngleFactorProperty | The items gap angle factor property |
RenderAngleProperty | The render angle property |
Constructors
CircularPanel
Initializes a new instance of the CircularPanel class.
Properties
AngleCalculationStrategy
Gets or sets the angle calculation strategy.
Value. The angle calculation strategy.
ItemsClosenessFactor
Gets or sets the items closeness factor.
Value. The items closeness factor.
ItemsGapAngleFactor
Gets or sets the items gap angle factor.
Value. The items gap angle factor.
RenderAngle
Gets or sets the render angle.
Value. The render angle.
Methods
ArrangeOverride
When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.
- finalSize
- The final area within the parent that this element should use to arrange itself and its children.
Returns. The actual size used.
MeasureOverride
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.
- availableSize
- The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.
Returns. The size that this element determines it needs during layout, based on its calculations of child element sizes.
Fields
AngleCalculationStrategyProperty
The angle calculation strategy property
ItemsClosenessFactorProperty
The items closeness factor property
ItemsGapAngleFactorProperty
The items gap angle factor property
RenderAngleProperty
The render angle property