Edit

Share via


LegendCell.Margins Property

Definition

Gets or sets the margins of the legend cell.

public:
 virtual property System::Web::UI::DataVisualization::Charting::Margins ^ Margins { System::Web::UI::DataVisualization::Charting::Margins ^ get(); void set(System::Web::UI::DataVisualization::Charting::Margins ^ value); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public virtual System.Web.UI.DataVisualization.Charting.Margins Margins { get; set; }
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.Margins : System.Web.UI.DataVisualization.Charting.Margins with get, set
Public Overridable Property Margins As Margins

Property Value

A Margins object that represents the top, bottom, left, and right values of the legend cell margins. The default values for top, bottom, left and right are "0,0,15,15".

Attributes

Remarks

Margins are measured as a percentage of the font size for the legend cell.

Applies to