Syncfusion.Shared.Base


Syncfusion.WinForms.Theme Namespace > FontHelper Class : CanOverrideFontFamily Property

CanOverrideFontFamily Property

Gets or sets a value indicating whether control FontFamily can be overridden by FontFamily settings.
Syntax
'Declaration
 
<DefaultValueAttribute(False)>
<CategoryAttribute("Theme")>
<DescriptionAttribute("Specifies whether the control FontFamily settings can be overridden by FontHelper settings.")>
Public Shared Property CanOverrideFontFamily As Boolean
'Usage
 
Dim value As Boolean
 
FontHelper.CanOverrideFontFamily = value
 
value = FontHelper.CanOverrideFontFamily
[DefaultValue(false)]
[Category("Theme")]
[Description("Specifies whether the control FontFamily settings can be overridden by FontHelper settings.")]
public static bool CanOverrideFontFamily {get; set;}

Property Value

Default value is false.
Remarks
By default, the control's Font will not be overridden by FontFamily settings if the Font is set in sample level. If this property is enabled, control's Font will be overridden by FontFamily settings event if it is set in sample level. This property should be enabled or disabled before applying the FontFamily property.
AssemblyVersion

Syncfusion.Shared.Base: 18.2460.0.44

See Also