ClassGridViewSparklineColumn
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewSparklineColumn : GridViewDataColumn, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IEditorProvider, INotifyPropertyChangingEx, IContextMenuProvider, IDataConversionInfoProvider, IGridViewEventListener, ITypeDescriptorContext, IServiceProvider
Inheritance: objectDisposableObjectRadObjectGridViewColumnGridViewDataColumnGridViewSparklineColumn
Implements:
Inherited Members
Constructors
GridViewSparklineColumn()
Initializes a new instance of the GridViewSparklineColumn.
Declaration
public GridViewSparklineColumn()
GridViewSparklineColumn(string)
Initializes a new instance of the GridViewSparklineColumn.
Declaration
public GridViewSparklineColumn(string fieldName)
Parameters
fieldName
A string value referring to the unique name of the column.
GridViewSparklineColumn(string, string)
Initializes a new instance of the GridViewSparklineColumn.
Properties
DataType
Gets or sets the data type of the column.
Declaration
[Browsable(true)]
[TypeConverter(typeof(DataTypeConverter))]
public override Type DataType { get; set; }
Property Value
Overrides
SeriesType
Gets or sets a value indicating what is the type of the generated series.
Declaration
[Browsable(true)]
public SparkSeriesType SeriesType { get; set; }
Property Value
ShowFirstPointIndicator
Gets or sets a value indicating whether the first point marker will be shown.
Declaration
[Browsable(true)]
public bool ShowFirstPointIndicator { get; set; }
Property Value
ShowHighPointIndicator
Gets or sets a value indicating whether the high point marker will be shown.
Declaration
[Browsable(true)]
public bool ShowHighPointIndicator { get; set; }
Property Value
ShowLastPointIndicator
Gets or sets a value indicating whether the last point marker will be shown.
Declaration
[Browsable(true)]
public bool ShowLastPointIndicator { get; set; }
Property Value
ShowLowPointIndicator
Gets or sets a value indicating whether the low point marker will be shown.
Declaration
[Browsable(true)]
public bool ShowLowPointIndicator { get; set; }
Property Value
ShowMarkers
Gets or sets a value indicating whether the point markers will be shown.
Declaration
[Browsable(true)]
public bool ShowMarkers { get; set; }
Property Value
ShowNegativePointIndicators
Gets or sets a value indicating whether the negative points marker will be shown.
Declaration
[Browsable(true)]
public bool ShowNegativePointIndicators { get; set; }
Property Value
ShowTooltip
Gets or sets a value whether tooltips on the point markers will be shown.
Declaration
[Browsable(true)]
public bool ShowTooltip { get; set; }
Property Value
Methods
CreateSparkSeries(SparkSeriesType)
Creates a SparkSeries based on the SeriesType property of the column.
Declaration
public static SparkSeries CreateSparkSeries(SparkSeriesType seriesType)
Parameters
seriesType
Returns
GetCellType(GridViewRowInfo)
Returns the type of cell element to be created for the specified row.
Declaration
public override Type GetCellType(GridViewRowInfo row)
Parameters
row
The specified row.
Returns
The type of the cell to be created.
Overrides
RaiseOnSparklineElementExporting(object, SparklineElementExportingEventArgs)
Fires while exporting or printing the sparkline cell element, allows customization of the series.
Declaration
public virtual void RaiseOnSparklineElementExporting(object sender, SparklineElementExportingEventArgs args)
Parameters
sender
The sender which is raising the event on the column.
args
SparklineElementExportingEventArgs
The SparklineElementExportingEventArgs instance containing the event data.
Events
PaintSparkFill
Fires when a spark line will be painted using the SolidBrush class.
Declaration
public event PaintSparkFillEventHandler PaintSparkFill
Event Value
PaintSparkStroke
Fires when a spark line will be painted using the Pen class.
Declaration
public event PaintSparkStrokeEventHandler PaintSparkStroke
Event Value
SparkDataNeeded
Fires before adding data points to the SparkSeriesobject. It is possible to cancel the event and bind the series.
Declaration
public event SparkDataNeededEventHandler SparkDataNeeded
Event Value
SparklineElementExporting
Fires while exporting or printing the sparkline cell element, allows customization of the series.
Declaration
public event SparklineElementExportingEventHandler SparklineElementExporting
Event Value