Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.ListBox Namespace / PathPanel Class
Members Example


    PathPanel Class
    Represents a panel that lays out its containers along a specified path.
    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 NotInheritable Class PathPanel 
       Inherits PanelBase
     
    'Usage
     
    Dim instance As PathPanel
    Remarks

    Can only be used in Xceed's ItemsPanelTemplate.

    See PathConfiguration for details on the settings available for creating a path.

    Example
    The following XAML illustrates how to set up a simple PathPanel.
    <sllb:ListBox Name="listBox1"
    	    ToolPaneVisibility="Collapsed">
    
      ...
    
      <sllb:ListBox.ItemsPanel>
        <sllb:ItemsPanelTemplate>
          <sllb:PathPanel>
            <sllb:PathPanel.PathConfiguration>
              <sllb:PathConfiguration PathPadding="40"
                                      PathStretch="Fill">
                <sllb:PathConfiguration.PathGeometry>
                  <PathGeometry>
                    <PathFigure IsClosed="False"
                      IsFilled="False"
                      StartPoint="100,0">
                      <BezierSegment Point1="-75,50"
                          Point2="175,150"
                          Point3="0,200" />
                    </PathFigure>
                  </PathGeometry>
                </sllb:PathConfiguration.PathGeometry>
              </sllb:PathConfiguration>
            </sllb:PathPanel.PathConfiguration>
          </sllb:PathPanel>
        </sllb:ItemsPanelTemplate>
      </sllb:ListBox.ItemsPanel>
    
      ...
    
    </sllb:ListBox>
    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.ListBox.PanelBase
                            Xceed.Wpf.ListBox.PathPanel

    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