All docs
V21.2
21.2
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ControlBase.Font Property

Gets or sets the control font.

Namespace: DevExpress.Utils.Controls

Assembly: DevExpress.Utils.v21.2.dll

Declaration

public override Font Font { get; set; }

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