maui-devexpress-dot-maui-dot-collectionview-dot-dxcollectionview-06022c2b.md
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
public CollectionViewSelectedItemAppearance SelectedItemAppearance { get; set; }
| Type | Description |
|---|---|
| CollectionViewSelectedItemAppearance |
An appearance object.
|
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