RibbonControlLength RibbonControlLength RibbonControlLength RibbonControlLength Constructors

Definição

Sobrecargas

RibbonControlLength(Double) RibbonControlLength(Double) RibbonControlLength(Double) RibbonControlLength(Double)

Inicializa uma nova instância da estrutura RibbonControlLength com um valor absoluto em pixels.Initializes a new instance of the RibbonControlLength structure with an absolute value in pixels.

RibbonControlLength(Double, RibbonControlLengthUnitType) RibbonControlLength(Double, RibbonControlLengthUnitType) RibbonControlLength(Double, RibbonControlLengthUnitType) RibbonControlLength(Double, RibbonControlLengthUnitType)

Inicializa uma nova instância da estrutura RibbonControlLength com o valor e a unidade de comprimento especificados.Initializes a new instance of the RibbonControlLength structure with the specified value and length unit.

RibbonControlLength(Double) RibbonControlLength(Double) RibbonControlLength(Double) RibbonControlLength(Double)

Inicializa uma nova instância da estrutura RibbonControlLength com um valor absoluto em pixels.Initializes a new instance of the RibbonControlLength structure with an absolute value in 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 Double Double Double

O valor absoluto de pixel para o qual inicializar o comprimento.The absolute pixel value to initialize the length to.

Exceções

RibbonControlLength(Double, RibbonControlLengthUnitType) RibbonControlLength(Double, RibbonControlLengthUnitType) RibbonControlLength(Double, RibbonControlLengthUnitType) RibbonControlLength(Double, RibbonControlLengthUnitType)

Inicializa uma nova instância da estrutura RibbonControlLength com o valor e a unidade de comprimento especificados.Initializes a new instance of the RibbonControlLength structure with the specified value and length unit.

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 Double Double Double

O tamanho solicitado do elemento.The requested size of the element.

type
RibbonControlLengthUnitType RibbonControlLengthUnitType RibbonControlLengthUnitType RibbonControlLengthUnitType

O tipo usado para determinar como o tamanho do elemento é calculado.The type that is used to determine how the size of the element is calculated.

Exceções

value é NaN.value is NaN.

- ou --or- type é Star e value é NegativeInfinity ou PositiveInfinity.type is Star and value is NegativeInfinity or PositiveInfinity.

- ou --or- type não é Auto, Pixel, Star ou Item.type is not Auto, Pixel, Star, or Item.

Aplica-se a