Back to Devexpress

TdxTileControlController.FocusedItem Property

vcl-dxcustomtilecontrol-dot-tdxtilecontrolcontroller.md

latest1.5 KB
Original Source

TdxTileControlController.FocusedItem Property

Focuses a specified tile item by scrolling it into view.

Declaration

delphi
property FocusedItem: TdxTileControlItem read; write;

Property Value

Type
TdxTileControlItem

Remarks

A tile item assigned to this property gets highlighted as specified by the tile control’s OptionsBehavior.ItemFocusMode property. End-users can move focus with the mouse and arrow keys. Activating a tile item automatically focuses it. To remove focus, set the FocusedItem property to nil.

Handle the tile control’s OnItemFocusChanging and OnItemFocusChange events to respond to focusing tile items and prohibit certain tile items from being focused.

See Also

TdxTileControlOptionsBehavior.FocusItemOnCycle

TdxTileControlOptionsBehavior.HideFocusOnItemHotTrack

TdxTileControlStyle.FocusedColor

TdxTileControlController Class

TdxTileControlController Members

dxCustomTileControl Unit