Xceed Toolkit Plus for WPF v4.6 Documentation
ScalingStops Property
Example 


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.ListBox Namespace > PathConfiguration Class : ScalingStops Property
Gets a collection of ScalingStop objects that influence the scaling of containers depending on their current position on the path.
Syntax
'Declaration
 
Public ReadOnly Property ScalingStops As ObservableCollection(Of ScalingStop)
'Usage
 
Dim instance As PathConfiguration
Dim value As ObservableCollection(Of ScalingStop)
 
value = instance.ScalingStops
public ObservableCollection<ScalingStop> ScalingStops {get;}

Property Value

A collection of ScalingStop objects.
Example
The following code snippet uses three scaling stops, one each at the beginning, middle, and the end of the path. The first and last scaling stops scale containers to 15% of their original size, while the middle stop scales them to 175% of their original size.
<sllb:PathPanel.PathConfiguration>
  <sllb:PathConfiguration PathStretch="Uniform"
                          StartOffset="0.00">
    <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.ScalingStops>
      <sllb:ScalingStop Offset="0.0"
                     ScalingFactor="0.15"/>
      <sllb:ScalingStop Offset="0.5"
                     ScalingFactor="1.75"/>
      <sllb:ScalingStop Offset="1.0"
                     ScalingFactor="0.15"/>
    </sllb:PathConfiguration.ScalingStops>
  </sllb:PathConfiguration>
</sllb:PathPanel.PathConfiguration>
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

PathConfiguration Class
PathConfiguration Members