RibbonControlLength RibbonControlLength RibbonControlLength RibbonControlLength Constructors

Definition

Overloads

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

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)

Initializes a new instance of the RibbonControlLength structure with the specified value and length unit.

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

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)

Parameters

pixels
Double Double Double Double

The absolute pixel value to initialize the length to.

Exceptions

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

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)

Parameters

value
Double Double Double Double

The requested size of the element.

type
RibbonControlLengthUnitType RibbonControlLengthUnitType RibbonControlLengthUnitType RibbonControlLengthUnitType

The type that is used to determine how the size of the element is calculated.

Exceptions

Applies to