Sprache

RibbonControlLength Konstruktoren

Definition

Initialisiert eine neue Instanz der RibbonControlLength Struktur.

Überlädt

Name Beschreibung
RibbonControlLength(Double)

Initialisiert eine neue Instanz der RibbonControlLength Struktur mit einem absoluten Wert in Pixeln.

RibbonControlLength(Double, RibbonControlLengthUnitType)

Initialisiert eine neue Instanz der RibbonControlLength Struktur mit der angegebenen Wert- und Längeneinheit.

RibbonControlLength(Double)

Initialisiert eine neue Instanz der RibbonControlLength Struktur mit einem absoluten Wert in Pixeln.

public:
 RibbonControlLength(double pixels);
public RibbonControlLength(double pixels);
new System.Windows.Controls.Ribbon.RibbonControlLength : double -> System.Windows.Controls.Ribbon.RibbonControlLength
Public Sub New (pixels As Double)

Parameter

pixels
Double

Der absolute Pixelwert, auf den die Länge initialisiert werden soll.

Ausnahmen

pixels ist NaN.

Gilt für:

RibbonControlLength(Double, RibbonControlLengthUnitType)

Initialisiert eine neue Instanz der RibbonControlLength Struktur mit der angegebenen Wert- und Längeneinheit.

public:
 RibbonControlLength(double value, System::Windows::Controls::Ribbon::RibbonControlLengthUnitType type);
public RibbonControlLength(double value, System.Windows.Controls.Ribbon.RibbonControlLengthUnitType type);
new System.Windows.Controls.Ribbon.RibbonControlLength : double * System.Windows.Controls.Ribbon.RibbonControlLengthUnitType -> System.Windows.Controls.Ribbon.RibbonControlLength
Public Sub New (value As Double, type As RibbonControlLengthUnitType)

Parameter

value
Double

Die angeforderte Größe des Elements.

type
RibbonControlLengthUnitType

Der Typ, der verwendet wird, um zu bestimmen, wie die Größe des Elements berechnet wird.

Ausnahmen

value ist NaN.

-oder-

typeist und ist Starvalue oder NegativeInfinityPositiveInfinity .

-oder-

typeist nicht Auto, , Pixel, oder StarItem.

Gilt für: