Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the RibbonControlLength structure with an absolute value in pixels.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Sub New ( _
pixels As Double _
)
public RibbonControlLength(
double pixels
)
public:
RibbonControlLength(
double pixels
)
new :
pixels:float -> RibbonControlLength
public function RibbonControlLength(
pixels : double
)
Parameters
- pixels
Type: System.Double
The absolute pixel value to initialize the length to.
Exceptions
Exception | Condition |
---|---|
ArgumentException | pixels is Double.NaN. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.