TileControl.GetItemSize(TileItemSize) Method
Returns the exact size of the target tile style in pixels.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
itemSize | TileItemSize | A TileItemSize enumerator value whose exact size is to be obtained. |
Returns
Type | Description |
---|---|
Size | A Size structure that is the size of the target tile style. |
Remarks
Tile items can have one of four predefined styles - small, medium, wide or large (see the TileItem.ItemSize property). The exact size of each tile depends on both its style and the elemental tile size specified by the TileControl.ItemSize property. The GetItemSize method returns the exact size of the specific tile style (or the target tile item if the TileControl.GetItemSize method overload is used) in pixels.