RibbonControlLength Structure

.NET Framework (current version)
 

Represents widths in a RibbonControlSizeDefinition.

Namespace:   System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

[TypeConverterAttribute(typeof(RibbonControlLengthConverter))]
public struct RibbonControlLength : IEquatable<RibbonControlLength>

NameDescription
System_CAPS_pubmethodRibbonControlLength(Double)

Initializes a new instance of the RibbonControlLength structure with an absolute value in pixels.

System_CAPS_pubmethodRibbonControlLength(Double, RibbonControlLengthUnitType)

Initializes a new instance of the RibbonControlLength structure with the specified value and length unit.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticAuto

Gets a RibbonControlLength structure that represents the standard automatic sizing mode.

System_CAPS_pubpropertyIsAbsolute

Gets a value that indicates whether this instance sizes elements based on a fixed pixel or logical value.

System_CAPS_pubpropertyIsAuto

Gets a value that indicates whether this instance automatically sizes elements.

System_CAPS_pubpropertyIsStar

Gets a value that indicates whether this instance automatically sizes elements based on a weighted proportion of available space.

System_CAPS_pubpropertyRibbonControlLengthUnitType

Gets the type that is used to determine how the size of the element is calculated.

System_CAPS_pubpropertyValue

Gets the absolute value of the RibbonControlLength in pixels or logical units.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current RibbonControlLength.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodEquals(RibbonControlLength)

Determines whether the specified RibbonControlLength is equal to the current RibbonControlLength.

System_CAPS_pubmethodGetHashCode()

Gets a hash code for the RibbonControlLength.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Overrides ValueType.ToString().)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(RibbonControlLength, RibbonControlLength)

Compares two RibbonControlLength structures for equality.

System_CAPS_puboperatorSystem_CAPS_staticInequality(RibbonControlLength, RibbonControlLength)

Compares two RibbonControlLength structures to determine whether they are not equal.

.NET Framework
Available since 4.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: