SwipeItem.Background プロパティ

定義

コントロールの背景を提供するブラシを取得または設定します。

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

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

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

プロパティ値

コントロールの背景を提供するブラシ。

適用対象