Upravit

Sdílet prostřednictvím


LegendCell.CellSpan Property

Definition

Gets or sets the number of horizontal cells used to draw the contents of the legend cell.

public:
 virtual property int CellSpan { int get(); void set(int value); };
public virtual int CellSpan { get; set; }
member this.CellSpan : int with get, set
Public Overridable Property CellSpan As Integer

Property Value

An integer value that represents the number of horizontal cells used to draw the legend cell contents. The default value is 1.

Remarks

If the cell contents must extend beyond the cell width, you can set the CellSpan property to the number of cells required to fit the contents. This property is most often used if you wish to add an extended header or title to the legend.

When this property is set to a value larger than 1, empty legend cells must be added in order to accommodate the contents of the extended legend cell.

Applies to