Dela via


InkToolbarRulerButton.Ruler Property

Definition

Gets the stencil associated with the 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

Property Value

The stencil associated with the InkToolbarRulerButton.

Attributes

Remarks

Apps that target Windows Creators Update (SDK 15063) or later should use the InkToolbarStencilButton object instead of this object. If your app also supports previous versions, see Version adaptive apps: Use new APIs while maintaining compatibility with previous versions for more info.

Applies to

See also