Modifier

Partager via


LegendCell.Margins Property

Definition

Gets or sets the margins of the legend cell.

public:
 virtual property System::Windows::Forms::DataVisualization::Charting::Margins ^ Margins { System::Windows::Forms::DataVisualization::Charting::Margins ^ get(); void set(System::Windows::Forms::DataVisualization::Charting::Margins ^ value); };
public virtual System.Windows.Forms.DataVisualization.Charting.Margins Margins { get; set; }
member this.Margins : System.Windows.Forms.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".

Remarks

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

Applies to