LegendCell.CellSpan Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET