Represents a panel that lays out its containers along a specified path.
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>
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