Back to Devexpress

TileControl.SelectedItem Property

windowsforms-devexpress-dot-xtraeditors-dot-tilecontrol-a6f5e88f.md

latest2.0 KB
Original Source

TileControl.SelectedItem Property

Gets or sets the currently selected TileItem within a TileControl.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Properties")]
public TileItem SelectedItem { get; set; }
vb
<DefaultValue(Nothing)>
<DXCategory("Properties")>
Public Property SelectedItem As TileItem

Property Value

TypeDefaultDescription
TileItemnull

A TileItem object that is currently selected within a TileControl.

|

Remarks

You can enable the tile items selection feature by setting the TileControl.AllowSelectedItem property to true. Selected tile items act as radio-buttons. The SelectedItem property sets the currently selected tile item.

Changing a selected item within a TileControl fires the TileControl.SelectedItemChanged event.

See Also

AllowSelectedItem

SelectedItemChanged

TileControl Class

TileControl Members

DevExpress.XtraEditors Namespace