Dundas Chart for Windows Forms
CellType Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > LegendCell Class : CellType Property


Gets or sets the legend cell type.
Legend cell type.

Syntax

Visual Basic (Declaration)  
Public Overridable Property CellType As LegendCellType
Visual Basic (Usage) Copy Code
Dim instance As LegendCell
Dim value As LegendCellType
 
instance.CellType = value
 
value = instance.CellType
C#  
public virtual LegendCellType CellType {get; set;}

Return Value

An enumerated value of type LegendCellType. Represents the type that will be used to define the legend cell's contents. Defaults to LegendCellType.Text.

Remarks

This property determines what types of content will be displayed in each individual legend cell. One of the following cell types must be specified:

  1. Text: The string specified using the Text property will be displayed in the legend cell.
  2. SeriesSymbol: The series symbol defined by the Style property will be displayed for the cell. Recall that a series symbol is a visual indicator (i.e. line, rectangle or marker).

    When Style is set to Marker, all marker attributes of the custom item apply to the cell.
     
  3. Image: The image defined using the Image property will be displayed in the legend cell.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.