获取 device-independent units (1/96th inch per unit) 中内容的可见范围的水平大小。
命名空间: Microsoft.Windows.Controls.Ribbon.Primitives
程序集: RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)
语法
声明
Public ReadOnly Property ViewportWidth As Double
Get
public double ViewportWidth { get; }
public:
virtual property double ViewportWidth {
double get () sealed;
}
abstract ViewportWidth : float
override ViewportWidth : float
final function get ViewportWidth () : double
属性值
类型:System.Double
device-independent units (1/96th inch per unit) 可见内容范围的水平大小。此属性无默认值。
实现
备注
此属性包含面板的内部 ScrollViewer 的 ViewportWidth 值。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。