SwipeItem.Foreground Свойство

Определение

Возвращает или задает кисть, которая закрашивает текст и значок элемента.

Эквивалентный API WinUI 2 для UWP: Microsoft.UI.Xaml.Controls.SwipeItem.Foreground (для WinUI в Windows App SDK см. Windows App 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"/>

Значение свойства

Кисть, которая закрашивает текст и значок элемента.

Применяется к