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


In This Topic
    ScalingStops Property
    In This Topic
    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>
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also