ערוך

שתף באמצעות


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>
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Controls.Ribbon.RibbonControlLengthConverter))>]
type RibbonControlLength = struct
Public Structure RibbonControlLength
Implements IEquatable(Of RibbonControlLength)
Inheritance
RibbonControlLength
Attributes
Implements

Constructors

RibbonControlLength(Double, RibbonControlLengthUnitType)

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

RibbonControlLength(Double)

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

Properties

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.

Methods

Equals(Object)

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

Equals(RibbonControlLength)

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

GetHashCode()

Gets a hash code for the RibbonControlLength.

ToString()

Returns a string that represents the current object.

Operators

Equality(RibbonControlLength, RibbonControlLength)

Compares two RibbonControlLength structures for equality.

Inequality(RibbonControlLength, RibbonControlLength)

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

Applies to