Język

RibbonControlLength Struktura

Definicja

Reprezentuje szerokości w obiekcie 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)
Dziedziczenie
RibbonControlLength
Atrybuty
Implementuje

Konstruktory

Nazwisko Opis
RibbonControlLength(Double, RibbonControlLengthUnitType)

Inicjuje nowe wystąpienie RibbonControlLength struktury z określoną wartością i jednostką długości.

RibbonControlLength(Double)

Inicjuje nowe wystąpienie RibbonControlLength struktury z wartością bezwzględną w pikselach.

Właściwości

Nazwisko Opis
Auto

Pobiera strukturę reprezentującą RibbonControlLength standardowy tryb automatycznego określania rozmiaru.

IsAbsolute

Pobiera wartość wskazującą, czy to wystąpienie ma rozmiar elementów na podstawie stałej wartości pikseli lub logicznej.

IsAuto

Pobiera wartość wskazującą, czy to wystąpienie automatycznie rozmiaruje elementy.

IsStar

Pobiera wartość wskazującą, czy to wystąpienie automatycznie ustawia rozmiar elementów na podstawie ważonej proporcji dostępnego miejsca.

RibbonControlLengthUnitType

Pobiera typ używany do określania sposobu obliczania rozmiaru elementu.

Value

Pobiera wartość bezwzględną RibbonControlLength w pikselach lub jednostkach logicznych.

Metody

Nazwisko Opis
Equals(Object)

Określa, czy określony obiekt jest równy bieżącemu RibbonControlLength.

Equals(RibbonControlLength)

Określa, czy określona RibbonControlLength wartość jest równa bieżącej RibbonControlLengthwartości .

GetHashCode()

Pobiera kod skrótu dla elementu RibbonControlLength.

ToString()

Zwraca ciąg reprezentujący bieżący obiekt.

Operatory

Nazwisko Opis
Equality(RibbonControlLength, RibbonControlLength)

Porównuje dwie RibbonControlLength struktury równości.

Inequality(RibbonControlLength, RibbonControlLength)

Porównuje dwie RibbonControlLength struktury, aby określić, czy nie są równe.

Dotyczy