Dela via


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

IScrollInfo.ViewportWidth

Remarks

This property contains the ViewportWidth value of the panel’s internal ScrollViewer.

.NET Framework Security

See Also

Reference

RibbonTabsPanel Class

Microsoft.Windows.Controls.Ribbon.Primitives Namespace