Xceed Ultimate ListBox for Silverlight Documentation
PathView Class
Members  Example 


Provides a view that lays out its containers along a path.
Syntax
Public NotInheritable Class PathView 
   Inherits View
Dim instance As PathView
public sealed class PathView : View 
Remarks

Used within a MultiViewPanel, which allows switching between multiple views.

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

Example
The following XAML illustrates how to set up a simple PathView in a MultiViewPanel. The MultiViewPanel also contains a vertically and a horizontally oriented StackView.
<sllb:ListBox.ItemsPanel>
  <sllb:ItemsPanelTemplate>
    <sllb:MultiViewPanel>
      <sllb:MultiViewPanel.Views>
        <sllb:StackView Orientation="Vertical"
                        ListBoxItemConfiguration="{StaticResource OrderItemConfigurationForVerticalStackView}"
                        IsActiveView="True" />

        <sllb:StackView Orientation="Horizontal"
                        ListBoxItemConfiguration="{StaticResource OrderItemConfigurationForHorizontalStackView}" />

        <sllb:PathView ListBoxItemConfiguration="{StaticResource OrderItemConfigurationForPathView}"
                        ListBoxGroupHeaderConfiguration="{StaticResource pathViewCategoryGroupHeader}">
          <sllb:PathView.PathConfiguration>
            <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>
          </sllb:PathView.PathConfiguration>
        </sllb:PathView>
      </sllb:MultiViewPanel.Views>
    </sllb:MultiViewPanel>
  </sllb:ItemsPanelTemplate>
</sllb:ListBox.ItemsPanel>
Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      Xceed.Silverlight.ListBox.ContainerConfigurationsBase
         Xceed.Silverlight.ListBox.View
            Xceed.Silverlight.ListBox.PathView

Requirements

Target Platforms: 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

PathView Members
Xceed.Silverlight.ListBox Namespace

Send Feedback