ThemeBase.CreateDefaultFont(Color) Method
In This Article
Creates and returns a ThemeFontAttributes object with the default font attributes and the specified color.
Namespace: DevExpress.Mobile.DataGrid.Theme
Assembly: DevExpress.Mobile.Grid.v18.2.dll
#Declaration
public static ThemeFontAttributes CreateDefaultFont(
Color color
)
#Parameters
Name | Type | Description |
---|---|---|
color | Xamarin. |
A color of the font to be returned. |
#Returns
Type | Description |
---|---|
Theme |
An object of the Theme |
#Remarks
Important
This documentation topic describes legacy technology. We no longer develop new functionality for the Grid
This method returns font attributes according to the device on which the application is currently running (either a phone or a tablet). To not take the device into account, call the ThemeBase.CreateDefaultFontForFormEditors method.
See Also