共用方式為


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,同時維持與舊版的相容性 ,以取得詳細資訊。

適用於

另請參閱