RibbonControlLength RibbonControlLength RibbonControlLength RibbonControlLength Struct

Definition

Represents widths in a RibbonControlSizeDefinition.

public value class RibbonControlLength : IEquatable<System::Windows::Controls::Ribbon::RibbonControlLength>
[System.ComponentModel.TypeConverter(typeof(System.Windows.Controls.Ribbon.RibbonControlLengthConverter))]
public struct RibbonControlLength : IEquatable<System.Windows.Controls.Ribbon.RibbonControlLength>
type RibbonControlLength = struct
Public Structure RibbonControlLength
Implements IEquatable(Of RibbonControlLength)
Inheritance
RibbonControlLengthRibbonControlLengthRibbonControlLengthRibbonControlLength
Attributes
Implements

Constructors

RibbonControlLength(Double) RibbonControlLength(Double) RibbonControlLength(Double) RibbonControlLength(Double)

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

RibbonControlLength(Double, RibbonControlLengthUnitType) RibbonControlLength(Double, RibbonControlLengthUnitType) RibbonControlLength(Double, RibbonControlLengthUnitType) RibbonControlLength(Double, RibbonControlLengthUnitType)

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

Properties

Auto Auto Auto Auto

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

IsAbsolute IsAbsolute IsAbsolute IsAbsolute

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

IsAuto IsAuto IsAuto IsAuto

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

IsStar IsStar IsStar IsStar

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

RibbonControlLengthUnitType RibbonControlLengthUnitType RibbonControlLengthUnitType RibbonControlLengthUnitType

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

Value Value Value Value

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

Equals(RibbonControlLength) Equals(RibbonControlLength) Equals(RibbonControlLength) Equals(RibbonControlLength)

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Gets a hash code for the RibbonControlLength.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

Operators

Equality(RibbonControlLength, RibbonControlLength) Equality(RibbonControlLength, RibbonControlLength) Equality(RibbonControlLength, RibbonControlLength) Equality(RibbonControlLength, RibbonControlLength)

Compares two RibbonControlLength structures for equality.

Inequality(RibbonControlLength, RibbonControlLength) Inequality(RibbonControlLength, RibbonControlLength) Inequality(RibbonControlLength, RibbonControlLength) Inequality(RibbonControlLength, RibbonControlLength)

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

Applies to