Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.ListBox Namespace / ScalingStop Class
Members Example


In This Topic
    ScalingStop Class
    In This Topic
    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

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the ScalingStop class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the offset on the path at which the corresponding ScalingFactor value of this ScalingStop should be applied.  
    Public Property

    Gets or sets the scaling factor that will be applied to containers at this ScalingStop.

     
    Top
    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