RibbonControlLength Структура
Определение
Предоставляет ширины в RibbonControlSizeDefinition.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)
- Наследование
- Атрибуты
- Реализации
Конструкторы
RibbonControlLength(Double) |
Инициализирует новый экземпляр структуры RibbonControlLength с абсолютным значением в пикселях.Initializes a new instance of the RibbonControlLength structure with an absolute value in pixels. |
RibbonControlLength(Double, RibbonControlLengthUnitType) |
Инициализирует новый экземпляр структуры RibbonControlLength с использованием указанных значения и единицы длины.Initializes a new instance of the RibbonControlLength structure with the specified value and length unit. |
Свойства
Auto |
Получает структуру RibbonControlLength, представляющую стандартный режим автоматического изменения размера.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 |
Получает абсолютное значение объекта RibbonControlLength в пикселях или логических единицах.Gets the absolute value of the RibbonControlLength in pixels or logical units. |
Методы
Equals(Object) |
Определяет, равен ли заданный объект текущему объекту RibbonControlLength.Determines whether the specified object is equal to the current RibbonControlLength. |
Equals(RibbonControlLength) |
Определяет, равен ли указанный объект RibbonControlLength текущему объекту RibbonControlLength.Determines whether the specified RibbonControlLength is equal to the current RibbonControlLength. |
GetHashCode() |
Возвращает хэш-код для RibbonControlLength.Gets a hash code for the RibbonControlLength. |
ToString() |
Возвращает строку, представляющую текущий объект.Returns a string that represents the current object. |
Операторы
Equality(RibbonControlLength, RibbonControlLength) |
Сравнивает две структуры RibbonControlLength на равенство.Compares two RibbonControlLength structures for equality. |
Inequality(RibbonControlLength, RibbonControlLength) |
Сравнивает две структуры RibbonControlLength на неравенство.Compares two RibbonControlLength structures to determine whether they are not equal. |