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


In This Topic
    PathConfiguration Class
    In This Topic

    Provides configuration information for the path used in a PathPanel or a PathView.

    Syntax
    'Declaration
     
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class PathConfiguration 
       Inherits System.Windows.DependencyObject
    'Usage
     
    Dim instance As PathConfiguration
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class PathConfiguration : System.Windows.DependencyObject 
    Remarks
    The path in a PathPanel or a PathView is the geometric line that items follow as the end-user moves through them, such as by scrolling, paging, pressing key up/down, etc.
    Example
    The following XAML shows how to configure the path to an S-shape, setting some of its properties.
    <sllb:PathConfiguration PathGeometry="{Binding Source={StaticResource SShapePath}, Converter={StaticResource stringToPathGeometryConverter}}"
                            PathPadding="50,100,50,100"
                            ContainerPadding="-100">
      <sllb:PathConfiguration.ScalingStops>
        <sllb:ScalingStop Offset="0"
                          ScalingFactor="0.15" />
        <sllb:ScalingStop Offset="0.5"
                          ScalingFactor="1.2" />
        <sllb:ScalingStop Offset="1"
                          ScalingFactor="0.15" />
      </sllb:PathConfiguration.ScalingStops>
    
      <sllb:PathConfiguration.ZIndexStops>
        <sllb:ZIndexStop Offset="0"
                         ZIndexFactor="0" />
        <sllb:ZIndexStop Offset="0.5"
                         ZIndexFactor="1" />
        <sllb:ZIndexStop Offset="1"
                         ZIndexFactor="0" />
      </sllb:PathConfiguration.ZIndexStops>
    </sllb:PathConfiguration>
    Inheritance Hierarchy

    System.Object
       System.Windows.Threading.DispatcherObject
          System.Windows.DependencyObject
             Xceed.Wpf.ListBox.PathConfiguration

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the PathConfiguration class.  
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Identifies the ContainerOrientation dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ContainerPadding dependency property.
     
    Public Fieldstatic (Shared in Visual Basic)Identifies the PathGeometry dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the PathPadding dependency property.
     
    Public Fieldstatic (Shared in Visual Basic)Identifies the PathStretch dependency property.
     
    Public Fieldstatic (Shared in Visual Basic)Identifies the StartOffset dependency property.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the orientation of the item and group header containers along the path.  
    Public PropertyGets or sets the padding between containers.  
    Public Property (Inherited from System.Windows.DependencyObject)
    Public Property (Inherited from System.Windows.Threading.DispatcherObject)
    Public Property (Inherited from System.Windows.DependencyObject)
    Public PropertyGets or sets the geometry used to lay out the containers on the path.  
    Public PropertyGets or sets the padding between the path and the panel's bounds.  
    Public PropertyGets or sets a value that determines how the path geometry is resized to fill its allocated space.  
    Public PropertyGets a collection of ScalingStop objects that influence the scaling of containers depending on their current position on the path.  
    Public Property

    Gets or sets the offset on the path where the first item is initially displayed and where it falls when at the "top" of the list.

     
    Public PropertyGets a collection of ZIndexStop objects that influence the z-order, or perceived depth, of containers depending on their current position on the path.  
    Top
    Public Methods
    Protected Methods
    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