Idioma

RibbonControlLength Construtores

Definição

Inicializa uma nova instância da RibbonControlLength estrutura.

Sobrecargas

Nome Descrição
RibbonControlLength(Double)

Inicializa uma nova instância da RibbonControlLength estrutura com um valor absoluto em pixels.

RibbonControlLength(Double, RibbonControlLengthUnitType)

Inicializa uma nova instância da RibbonControlLength estrutura com o valor e a unidade de comprimento especificados.

RibbonControlLength(Double)

Inicializa uma nova instância da RibbonControlLength estrutura com um valor absoluto em pixels.

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)

Parâmetros

pixels
Double

O valor absoluto do píxel para inicializar o comprimento a.

Exceções

pixels é NaN.

Aplica-se a

RibbonControlLength(Double, RibbonControlLengthUnitType)

Inicializa uma nova instância da RibbonControlLength estrutura com o valor e a unidade de comprimento especificados.

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)

Parâmetros

value
Double

O tamanho pedido do elemento.

type
RibbonControlLengthUnitType

O tipo que é usado para determinar como o tamanho do elemento é calculado.

Exceções

value é NaN.

-ou-

type é Star e value é NegativeInfinity ou PositiveInfinity.

-ou-

type não Autoé , Pixel, Star, ou Item.

Aplica-se a