XRCrossTabCell.GetEffectiveFont() Method
Returns the cell’s actually used font.
Namespace: DevExpress.XtraReports.UI.CrossTab
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Returns
Type | Description |
---|---|
DXFont | The effective font. |
Remarks
The GetEffectiveFont method searches an actual font in the following order:
- the cell’s
Font
property value if it differs from the default value; - the
Font
property value in a style of the cell’s area (HeaderAreaStyle, DataAreaStyle or TotalAreaStyle) if it is set; - the
Font
property value in the GeneralStyle if it is set; - the default font.
Tip
See CrossTabStyles for more information about the Cross Tab’s appearance mechanism.
See Also