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

RibbonControlLength(Double)

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

RibbonControlLength(Double, RibbonControlLengthUnitType)

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

Właściwości

Auto

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

IsAbsolute

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

IsAuto

Pobiera wartość wskazującą, czy to wystąpienie automatycznie ustawia rozmiar elementów.

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ą w pikselach RibbonControlLength lub jednostkach logicznych.

Metody

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 .RibbonControlLength

ToString()

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

Operatory

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