Xceed Toolkit Plus for WPF v4.6 Documentation
RadialCanvas Class
Members  Example 


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Panels Namespace : RadialCanvas Class
Lays out its children in a cicle based on panel size and/or properties set.
Syntax
'Declaration
 
<LocalizabilityAttribute(LocalizationCategory.Ignore)>
<ContentPropertyAttribute("Children")>
<StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>
<XmlLangPropertyAttribute("Language")>
<UsableDuringInitializationAttribute(True)>
<RuntimeNamePropertyAttribute("Name")>
<UidPropertyAttribute("Uid")>
<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
Public Class RadialCanvas 
   Inherits AnimationPanel
'Usage
 
Dim instance As RadialCanvas
[Localizability(LocalizationCategory.Ignore)]
[ContentProperty("Children")]
[StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
[XmlLangProperty("Language")]
[UsableDuringInitialization(true)]
[RuntimeNameProperty("Name")]
[UidProperty("Uid")]
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public class RadialCanvas : AnimationPanel 
Example
<Window x:Class="RadialCanvasSample.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
        Title="RadialCanvasSample">
  <Grid>
    <xctk:RadialCanvas x:Name="radialCanvas"
                            Margin="0,0,4,0"
                            Grid.Row="1"
                            Height="Auto"
                            Width="Auto">
      <Border Width="100"
              Height="100"
              Background="#FFFFFFFF"
              BorderBrush="{x:Null}"
              CornerRadius="3,3,3,3"
              Padding="2,2,2,2">
        <Button Content="First"/>
      </Border>
      <Border Width="100"
              Height="100"
              Background="#FFFFFFFF"
              BorderBrush="{x:Null}"
              CornerRadius="3,3,3,3"
              Padding="2,2,2,2">
        <Button Content="Second" />
      </Border>
      <Border Width="100"
              Height="100"
              Background="#FFFFFFFF"
              BorderBrush="{x:Null}"
              CornerRadius="3,3,3,3"
              Padding="2,2,2,2">
        <Button Content="Third" />
      </Border>
      <Border Width="100"
              Height="100"
              Background="#FFFFFFFF"
              BorderBrush="{x:Null}"
              CornerRadius="3,3,3,3"
              Padding="2,2,2,2">
        <Button Content="Fourth" />
      </Border>
      <Border Width="100"
              Height="100"
              Background="#FFFFFFFF"
              BorderBrush="{x:Null}"
              CornerRadius="3,3,3,3"
              Padding="2,2,2,2">
        <Button Content="Fifth" />
      </Border>
      <Border Width="100"
              Height="100"
              Background="#FFFFFFFF"
              BorderBrush="{x:Null}"
              CornerRadius="3,3,3,3"
              Padding="2,2,2,2">
        <Button Content="Sixth" />
      </Border>
      <Border Width="100"
              Height="100"
              Background="#FFFFFFFF"
              BorderBrush="{x:Null}"
              CornerRadius="3,3,3,3"
              Padding="2,2,2,2">
        <Button Content="Seventh" />
      </Border>
      <Border Width="100"
              Height="100"
              Background="#FFFFFFFF"
              BorderBrush="{x:Null}"
              CornerRadius="3,3,3,3"
              Padding="2,2,2,2">
        <Button Content="Eighth" />
      </Border>
    </xctk:RadialCanvas>
  </Grid>
</Window>
Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Panel
                     Xceed.Wpf.Toolkit.Panels.PanelBase
                        Xceed.Wpf.Toolkit.Panels.AnimationPanel
                           Xceed.Wpf.Toolkit.Panels.RadialCanvas

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RadialCanvas Members
Xceed.Wpf.Toolkit.Panels Namespace