Share via


RevealBrush.GetState(UIElement) 方法

定義

重要

RevealBrush 可用於需求一節中指定的作業系統。 不過,不建議使用,因為後續版本可能會改變或無法使用。

取得目標專案的 RevealBrush.State XAML 附加屬性的值。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

public:
 static RevealBrushState GetState(UIElement ^ element);
 static RevealBrushState GetState(UIElement const& element);
public static RevealBrushState GetState(UIElement element);
Public Shared Function GetState (element As UIElement) As RevealBrushState

參數

element
UIElement

要讀取屬性值的物件。

傳回

指定物件的 RevealBrush.State XAML 附加屬性值。

適用於

另請參閱