[Root] / Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Panels Namespace / StackLength Structure


In This Topic
    StackLength Structure
    In This Topic
    StackLength is the type used for the Length property of a StackDefinition (used by StackedStackPanel).
    Object Model
    StackLength StructureStackLength StructureStackLength Structure
    Syntax
    'Declaration
     
    
    <TypeConverterAttribute(Xceed.Wpf.Toolkit.Panels.StackLengthConverter)>
    Public Structure StackLength 
       Inherits System.ValueType
    'Usage
     
    
    Dim instance As StackLength
    [TypeConverter(Xceed.Wpf.Toolkit.Panels.StackLengthConverter)]
    public struct StackLength : System.ValueType 
    Inheritance Hierarchy

    System.Object
       System.ValueType
          Xceed.Wpf.Toolkit.Panels.StackLength

    Public Constructors
     NameDescription
    Public ConstructorConstructor, initializes the StackLength as absolute value in pixels.  
    Top
    Public Properties
     NameDescription
    Public Propertystatic (Shared in Visual Basic)Returns initialized Auto StackLength value.  
    Public Propertystatic (Shared in Visual Basic)Returns initialized Default StackLength value. This means that the stack's length will be determined by the DefaultStackLength value on the owning StackedStackPanel (which is Auto, by default).  
    Public PropertyReturns true if this StackLength instance holds an absolute (pixel) value.  
    Public PropertyReturns true if this StackLength instance is automatic (not specified).  
    Public PropertyReturns true if this StackLength instance is determined by the DefaultStackLength property on the owning StackedStackPanel.  
    Public PropertyReturns value part of this StackLength instance.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Compares this instance of StackLength with another object.  
    Public MethodSystem.Object.GetHashCode  
    Public MethodReturns the string representation of this object.  
    Top
    Public Operators
    Overloaded operator, compares 2 StackLength's.
    Overloaded operator, compares 2 StackLength's.
    Top
    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