RevealBrush.SetState(UIElement, RevealBrushState) メソッド

定義

重要

RevealBrush は、[要件] セクションで指定したオペレーティング システムで使用できます。 ただし、以降のバージョンでは変更されたり使用できなくなったりする可能性があるため、その使用はお勧めしません。

ターゲット要素の RevealBrush.State XAML 添付プロパティの値を設定します。

UWP 用の同等の WinUI 2 API: Microsoft.UI.Xaml.Media.RevealBrush.SetState(Windows.UI.Xaml.UIElement,Microsoft.UI.Xaml.Media.RevealBrushState) (Windows アプリ SDKの WinUI の場合は、Windows アプリ SDK名前空間を参照してください)。

public:
 static void SetState(UIElement ^ element, RevealBrushState value);
 static void SetState(UIElement const& element, RevealBrushState const& value);
public static void SetState(UIElement element, RevealBrushState value);
function setState(element, value)
Public Shared Sub SetState (element As UIElement, value As RevealBrushState)

パラメーター

element
UIElement

プロパティ値の書き込み先の オブジェクト。

value
RevealBrushState

設定する値。

適用対象

こちらもご覧ください