Share via


SwipeItem.Background Properti

Definisi

Mendapatkan atau mengatur kuas yang menyediakan latar belakang kontrol.

API WinUI 2 yang setara untuk UWP: Microsoft.UI.Xaml.Controls.SwipeItem.Background (untuk WinUI di SDK Aplikasi Windows, lihat namespace SDK Aplikasi Windows).

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"/>

Nilai Properti

Kuas yang menyediakan latar belakang kontrol.

Berlaku untuk