The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

Formatting.Flags Property

Provides access to flags that control which cell format attributes are specified by the applied cell style and which ones are specified by direct cell formatting.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

StyleFlags Flags { get; }
ReadOnly Property Flags As StyleFlags
StyleFlags Flags { get; }
ReadOnly Property Flags As StyleFlags
StyleFlags Flags { get; }
ReadOnly Property Flags As StyleFlags

Property Value

Type Description
StyleFlags

A StyleFlags object providing access to flags, each of which corresponds to a specific group of format attributes.

Property Value

Type Description
StyleFlags

A StyleFlags object providing access to flags, each of which corresponds to a specific group of format attributes.

Property Value

Type Description
StyleFlags

A StyleFlags object providing access to flags, each of which corresponds to a specific group of format attributes.

Remarks

The actual appearance of a cell is a combination of settings specified by the applied style and the direct cell format settings (see the Formatting Cells document for details). Each formatting type provides a set of flags (Flags). Each flag corresponds to a specific group of format attributes. You can use these flags when formatting a cell to control whether to use attributes specified in the applied style or attributes specified directly for the cell.

Group Attributes Flag
Alignment Horizontal and vertical alignment of cell content, indentation and text wrap. StyleFlags.Alignment
Borders Cell border line styles and colors. StyleFlags.Borders
Fill Cell background settings (background color, pattern type, shading color and gradient fill characteristics). StyleFlags.Fill
Font Cell font settings (name, style, color and size). StyleFlags.Font
Number Format Cell number format. StyleFlags.Number
Protection Cell protection options (Locked and Hidden). StyleFlags.Protection

For examples of how to format cells, see the Formatting Cells section.

See Also