A newer version of this page is available. Switch to the current version.

AppearanceObject.FontSizeDelta Property

Gets or sets an integer value by which the font size is adjusted.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.2.dll

Declaration

[XtraSerializableProperty(99)]
[DXCategory("Font")]
public virtual int FontSizeDelta { get; set; }

Property Value

Type Default Description
Int32

0

An integer value by which the font size is adjusted.

Remarks

For controls that support the appearance customization, you can specify the font using the AppearanceObject.DefaultFont and AppearanceObject.Font properties. These properties specify the text format settings, including font face, size, and style attributes. The FontSizeDelta property allows you to specify an integer value by which the specified font size (Font.Size) is adjusted. When setting the FontSizeDelta property, the specified value is added to the Font.Size property. Positive values increase the font size, while negative values decrease it.

NOTE

The Font.Size property value is increased by the FontSizeDelta value each time you modify any font attribute (properties of the Font object).

To modify the font style, use the AppearanceObject.FontStyleDelta property.

See Also