ArcPanel ClassDW.WPFToolkit Documentation
Arranges child elements in a configurable arc form.
Inheritance Hierarchy

SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.MediaVisual
        System.WindowsUIElement
          System.WindowsFrameworkElement
            System.Windows.ControlsPanel
              DW.WPFToolkit.ControlsArcPanel

Namespace: DW.WPFToolkit.Controls
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 5.6.0.0
Syntax

C#
public class ArcPanel : Panel

The ArcPanel type exposes the following members.

Constructors

  NameDescription
Public methodArcPanel
Initializes a new instance of the ArcPanel class.
Top
Methods

  NameDescription
Protected methodArrangeOverride
Positionates each child in an arc line form depending on the Bend and amount of child controls.
(Overrides FrameworkElementArrangeOverride(Size).)
Protected methodMeasureOverride
Lets each child calculating is needed size.
(Overrides FrameworkElementMeasureOverride(Size).)
Top
Fields

  NameDescription
Public fieldStatic memberBendProperty
Identifies the Bend dependency property.
Public fieldStatic memberRotateElementsProperty
Identifies the RotateElements dependency property.
Top
Properties

  NameDescription
Public propertyBend
Gets or sets a value that defines how strong the arc line should be bended.
Public propertyRotateElements
Gets or sets a value that defines if the child elements has to be rotated by the arc line.
Top
Examples

XAML
<ItemsControl ItemsSource="{Binding Cards}">
    <ItemsControl.ItemsPanel>
        <ItemsPanelTemplate>
            <WPFToolkit:ArcPanel Width="210" Height="100" Bend="3" />
        </ItemsPanelTemplate>
    </ItemsControl.ItemsPanel>
</ItemsControl>

<WPFToolkit:ArcPanel Width="300" Height="150" Bend="2">
    <Button Content="First" />
    <Button Content="Second" />
    <Button Content="Third" />
</WPFToolkit:ArcPanel>
See Also

Reference