RibbonControlLength Structure
Represents widths in a RibbonControlSizeDefinition.
Assembly: System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)
| Name | Description | |
|---|---|---|
![]() | RibbonControlLength(Double) | Initializes a new instance of the RibbonControlLength structure with an absolute value in pixels. |
![]() | RibbonControlLength(Double, RibbonControlLengthUnitType) | Initializes a new instance of the RibbonControlLength structure with the specified value and length unit. |
| Name | Description | |
|---|---|---|
![]() ![]() | Auto | Gets a RibbonControlLength structure that represents the standard automatic sizing mode. |
![]() | IsAbsolute | Gets a value that indicates whether this instance sizes elements based on a fixed pixel or logical value. |
![]() | IsAuto | Gets a value that indicates whether this instance automatically sizes elements. |
![]() | IsStar | Gets a value that indicates whether this instance automatically sizes elements based on a weighted proportion of available space. |
![]() | RibbonControlLengthUnitType | Gets the type that is used to determine how the size of the element is calculated. |
![]() | Value | Gets the absolute value of the RibbonControlLength in pixels or logical units. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current RibbonControlLength.(Overrides ValueType::Equals(Object^).) |
![]() | Equals(RibbonControlLength) | Determines whether the specified RibbonControlLength is equal to the current RibbonControlLength. |
![]() | GetHashCode() | Gets a hash code for the RibbonControlLength.(Overrides ValueType::GetHashCode().) |
![]() | GetType() | |
![]() | ToString() | Returns a string that represents the current object.(Overrides ValueType::ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality(RibbonControlLength, RibbonControlLength) | Compares two RibbonControlLength structures for equality. |
![]() ![]() | Inequality(RibbonControlLength, RibbonControlLength) | Compares two RibbonControlLength structures to determine whether they are not equal. |
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.



