DXCollectionView.SelectedItemAppearance Property
Gets or sets the appearance settings that are applied to current DXCollectionView selected items. This is a bindable property.
Namespace: DevExpress.Maui.CollectionView
Assembly: DevExpress.Maui.CollectionView.dll
NuGet Package: DevExpress.Maui.CollectionView
Declaration
public CollectionViewSelectedItemAppearance SelectedItemAppearance { get; set; }
Property Value
Type | Description |
---|---|
CollectionViewSelectedItemAppearance | An appearance object. |
Remarks
Refer to the following topic for available appearance properties: CollectionViewSelectedItemAppearance members.
The following example specifies selected item appearance:
<dx:DXCollectionView ...
SelectionMode="Single">
<dx:DXCollectionView.SelectedItemAppearance>
<dx:CollectionViewSelectedItemAppearance TextColor="Coral"
BackgroundColor="Beige"/>
</dx:DXCollectionView.SelectedItemAppearance>
</dx:DXCollectionView>
Note: if you have the DXCollectionView.ItemTemplate property specified, use the DXCollectionView.SelectedItemTemplate property to define selected item appearance.
See Also