Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.49 KB

swipeitem_background.md

File metadata and controls

41 lines (26 loc) · 1.49 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.SwipeItem.Background
winrt property

Windows.UI.Xaml.Controls.SwipeItem.Background

-description

Gets or sets a brush that provides the background of the control.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.SwipeItem.Background (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

-xaml-syntax

<SwipeItem Background="{StaticResource resourceName}"/>
- or -
<SwipeItem Background="colorString"/>

-xaml-values

resourceName
resourceNameThe resource name (x:Key attribute value) of an existing XAML resource that defines a brush. This is the recommended way to specify Brush values in XAML if you have any intention of using the same colors or brushes in more than one part of your UI. See Remarks in Brush or ResourceDictionary and XAML resource references.
colorString
colorStringThe Color for a SolidColorBrush expressed as an attribute string. This can be a named color, an RGB value, or an ScRGB value. RGB or ScRGB may also specify alpha information. See the XAML Values section in Color.

-property-value

The brush that provides the background of the control.

-remarks

-see-also

-examples