Skip to main content
All docs
V25.1
  • LegendBase.Font Property

    Gets or sets the font used to display the legend’s content.

    Namespace: DevExpress.XtraCharts

    Assembly: DevExpress.XtraCharts.v25.1.dll

    NuGet Package: DevExpress.Charts

    Declaration

    [Browsable(false)]
    public Font Font { get; set; }

    Property Value

    Type Description
    Font

    A Font object that specifies the font used to display the legend’s contents.

    Remarks

    Important

    Use the DXFont property instead of Font to specify the font used to display the legend’s content.

    The following image demonstrates the Font property in action.

    LegendText

    For more information, refer to Legends.

    See Also