corelibraries-devexpress-dot-xtracharts-dot-customdrawserieseventargsbase-789cb079.md
Returns the draw settings of the legend item of the series that is currently being drawn.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
public DrawOptions LegendDrawOptions { get; }
Public ReadOnly Property LegendDrawOptions As DrawOptions
| Type | Description |
|---|---|
| DrawOptions |
An object of the DrawOptions class descendant, which stores the drawing options of the series currently being drawn.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LegendDrawOptions property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
UpdateDrawOptions((BarDrawOptions)e.SeriesDrawOptions);
UpdateDrawOptions((BarDrawOptions)e.LegendDrawOptions);
Call UpdateDrawOptions(CType(e.SeriesDrawOptions, BarDrawOptions))
Call UpdateDrawOptions(CType(e.LegendDrawOptions, BarDrawOptions))
End Sub
See Also
CustomDrawSeriesEventArgsBase Class