RibbonTabsPanel.ViewportWidth Property
Gets the horizontal size of the content's visible range in device-independent units (1/96th inch per unit).
Namespace: Microsoft.Windows.Controls.Ribbon.Primitives
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public ReadOnly Property ViewportWidth As Double
public double ViewportWidth { get; }
public:
virtual property double ViewportWidth {
double get () sealed;
}
abstract ViewportWidth : float
override ViewportWidth : float
final function get ViewportWidth () : double
Property Value
Type: System.Double
The horizontal size of the content's visible range in device-independent units (1/96th inch per unit). This property has no default value.
Implements
Remarks
This property contains the ViewportWidth value of the panel’s internal ScrollViewer.
.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.