SwipeItem.Foreground プロパティ

定義

アイテムのテキストとアイコンを描画するブラシを取得または設定します。

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

public:
 property Brush ^ Foreground { Brush ^ get(); void set(Brush ^ value); };
Brush Foreground();

void Foreground(Brush value);
public Brush Foreground { get; set; }
var brush = swipeItem.foreground;
swipeItem.foreground = brush;
Public Property Foreground As Brush
<SwipeItem Foreground="{StaticResource resourceName}"/>
- or -
<SwipeItem Foreground="colorString"/>

プロパティ値

アイテムのテキストとアイコンを塗りつぶすブラシ。

適用対象