IFilterPanelCustomizer.CreateClearFilterImageSource() Method

Sets up an image source for the "Clear Filter" icon shown in the filter panel.

Namespace: DevExpress.Mobile.DataGrid.Theme

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

ImageSource CreateClearFilterImageSource()
Function CreateClearFilterImageSource As ImageSource

Returns

Type Description
Xamarin.Forms.ImageSource

The Xamarin.Forms.ImageSource object, that specifies the image source.

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.

The CreateClearFilterImageSource method is abstract. So, to change the image source shown in your grid, override the method in the IFilterPanelCustomizer descendants.

See Also