IHeaderCustomizer.LocateHeaderViewInPanel(View, Rectangle, Boolean, Boolean, Boolean, Boolean) Method
Locates the specified view within the grid header’s bounds.
Namespace: DevExpress.Mobile.DataGrid.Theme
Assembly: DevExpress.Mobile.Grid.v18.2.dll
Declaration
void LocateHeaderViewInPanel(
View header,
Rectangle headerBounds,
bool isFirst,
bool isLast,
bool isLeftFixedColumnBorder,
bool isRightFixedColumnBorder
)
Parameters
Name | Type | Description |
---|---|---|
header | Xamarin.Forms.View | A Xamarin.Forms.View object, specifying the view to be located within the grid header. |
headerBounds | Xamarin.Forms.Rectangle | A Xamarin.Forms.Rectangle object, specifying the grid header’s bounds. |
isFirst | Boolean | true, if the specified view is the first view in the grid header; otherwise, false. |
isLast | Boolean | true, if the specified view is the last view in the grid header; otherwise, false. |
isLeftFixedColumnBorder | Boolean | true, if the specified view belongs to the last column fixed to the left; otherwise, false. |
isRightFixedColumnBorder | Boolean | true, if the specified view belongs to the first column fixed to the right; otherwise, false. |
Remarks
Important
This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.
GridControl provides you with two predefined themes - Light and Dark. The Default theme depends on the mobile platform. For iOS applications, the Default theme is Light, for Android - is Dark. To apply another theme to a grid, use the ThemeManager.ThemeName property. Then, you can customize the applied theme (if needed). For more information, see the How to: Customize Themes document.
Important
To apply customization to a grid, call the ThemeManager.RefreshTheme method.