The requested page is not available for the requested platform. You are viewing the content for Default platform.

TileBase.Checked Property

Gets or sets whether the Tile is checked. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Layout

Assembly: DevExpress.UI.Xaml.Layout.v19.1.dll

Declaration

public bool Checked { get; set; }
Public Property Checked As Boolean

Property Value

Type Description
Boolean

true, if the Tile is in the checked state; otherwise, false. The default is false.

Remarks

If the TileBase.AllowCheck property is set to True, a Tile can be in the checked state. When the Tile is checked (the Checked property is set to true), it displays a check mark, as demonstrated below.

TileBase_Checked

By default, the tick symbol is used to indicate checked Tiles. You can override the default check mark using the TileBase.CheckMarkStyle property.

At runtime, end-users can change the check state by tapping/clicking Tiles. To specify how a Tile can be checked/unchecked, use the TileBase.CheckMode property.

If the TileBase.AllowCheck property is set to Default or False, the Tile is not displayed in the checked state even if the Checked property is set to True. To get whether the Tile is actually displayed checked, read the TileBase.IsChecked property.

To respond to changing the check state, handle the TileBase.CheckedChanged event. This event fires when the TileBase.IsChecked property value changes.

See Also