ControlBase.Font Property
Gets or sets the control font.
Namespace: DevExpress.Utils.Controls
Assembly: DevExpress.Utils.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
Font | The control font. |
Remarks
If a control that derives from this ControlBase
class has its own Appearance
properties section, ControlBase.Font
is synchronized with AppearanceObject.Font.
Font myFont = new Font("Tahoma", 24f);
textEdit1.Properties.Appearance.Font = myFont;
//or
textEdit1.Font = myFont;
See Also