RibbonControlLength Struktur
Definition
Stellt Breiten in einer RibbonControlSizeDefinition dar.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)
- Vererbung
- Attribute
- Implementiert
Konstruktoren
RibbonControlLength(Double) |
Initialisiert eine neue Instanz der RibbonControlLength-Struktur mit einem absoluten Wert in Pixel.Initializes a new instance of the RibbonControlLength structure with an absolute value in pixels. |
RibbonControlLength(Double, RibbonControlLengthUnitType) |
Initialisiert eine neue Instanz der RibbonControlLength-Struktur mit dem angegebenen Wert und der Längeneinheit.Initializes a new instance of the RibbonControlLength structure with the specified value and length unit. |
Eigenschaften
Auto |
Ruft eine RibbonControlLength-Struktur ab, die den Standardmodus für automatische Größenanpassungen darstellt.Gets a RibbonControlLength structure that represents the standard automatic sizing mode. |
IsAbsolute |
Ruft einen Wert ab, der angibt, ob diese Instanz die Größe der Elemente auf Grundlage eines festen Pixel- oder logischen Werts anpasst.Gets a value that indicates whether this instance sizes elements based on a fixed pixel or logical value. |
IsAuto |
Ruft einen Wert ab, der angibt, ob diese Instanz die Größe der Elemente automatisch anpasst.Gets a value that indicates whether this instance automatically sizes elements. |
IsStar |
Ruft einen Wert ab, der angibt, ob diese Instanz die Größe der Elemente automatisch auf Grundlage eines gewichteten Anteils von verfügbarem Speicherplatz anpasst.Gets a value that indicates whether this instance automatically sizes elements based on a weighted proportion of available space. |
RibbonControlLengthUnitType |
Ruft den Typ ab, mit dem bestimmt wird, wie die Größe des Elements berechnet wird.Gets the type that is used to determine how the size of the element is calculated. |
Value |
Ruft den absoluten Wert der RibbonControlLength in Pixel oder logischen Einheiten ab.Gets the absolute value of the RibbonControlLength in pixels or logical units. |
Methoden
Equals(Object) |
Bestimmt, ob das angegebene Objekt dem aktuellen RibbonControlLength-Objekt entspricht.Determines whether the specified object is equal to the current RibbonControlLength. |
Equals(RibbonControlLength) |
Bestimmt, ob das angegebene RibbonControlLength und das aktuelle RibbonControlLength gleich sind.Determines whether the specified RibbonControlLength is equal to the current RibbonControlLength. |
GetHashCode() |
Ruft einen Hashcode für die RibbonControlLength ab.Gets a hash code for the RibbonControlLength. |
ToString() |
Gibt eine Zeichenfolge zurück, die das aktuelle Objekt darstellt.Returns a string that represents the current object. |
Operatoren
Equality(RibbonControlLength, RibbonControlLength) |
Vergleicht zwei RibbonControlLength-Strukturen auf Gleichheit.Compares two RibbonControlLength structures for equality. |
Inequality(RibbonControlLength, RibbonControlLength) |
Vergleicht zwei RibbonControlLength-Strukturen, um zu bestimmen, ob diese ungleich sind.Compares two RibbonControlLength structures to determine whether they are not equal. |