Xceed Toolkit Plus for WPF v4.6 Documentation
ScalingStop Class
Members  Example 


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.ListBox Namespace : ScalingStop Class
Defines an offset along a path and a scaling factor to apply to containers in the ListBox.
Syntax
'Declaration
 
Public Class ScalingStop 
'Usage
 
Dim instance As ScalingStop
public class ScalingStop 
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>
Inheritance Hierarchy

System.Object
   Xceed.Wpf.ListBox.ScalingStop

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

ScalingStop Members
Xceed.Wpf.ListBox Namespace