InkToolbarRulerButton.Ruler 属性

定义

获取与 InkToolbarRulerButton 关联的模具。

public:
 property InkPresenterRuler ^ Ruler { InkPresenterRuler ^ get(); };
InkPresenterRuler Ruler();
/// [get: Windows.Foundation.Metadata.Deprecated("InkToolbarRulerButton is deprecated starting from Windows 10 Creators Update. Please use InkToolbarStencilButton going forward. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
InkPresenterRuler Ruler();
public InkPresenterRuler Ruler { get; }
public InkPresenterRuler Ruler { [Windows.Foundation.Metadata.Deprecated("InkToolbarRulerButton is deprecated starting from Windows 10 Creators Update. Please use InkToolbarStencilButton going forward. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] get; }
var inkPresenterRuler = inkToolbarRulerButton.ruler;
Public ReadOnly Property Ruler As InkPresenterRuler

属性值

InkToolbarRulerButton 关联的模具。

属性

注解

面向 Windows Creators Update (SDK 15063) 或更高版本的应用应使用 InkToolbarStencilButton 对象,而不是此对象。 如果应用还支持以前的版本,请参阅 版本自适应应用:在保持与以前版本的兼容性的同时使用新 API ,了解详细信息。

适用于

另请参阅