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
Initializes a new instance of the GridViewSparklineColumn.
public GridViewSparklineColumn()
Initializes a new instance of the GridViewSparklineColumn.
Initializes a new instance of the GridViewSparklineColumn.
public GridViewSparklineColumn(string fieldName)
A string value referring to the unique name of the column.
Properties
Gets or sets the data type of the column.
[Browsable(true)]
[TypeConverter(typeof(DataTypeConverter))]
public override Type DataType { get; set; }
Overrides:
Gets or sets a value indicating what is the type of the generated series.
[Browsable(true)]
public SparkSeriesType SeriesType { get; set; }
Gets or sets a value indicating whether the first point marker will be shown.
[Browsable(true)]
public bool ShowFirstPointIndicator { get; set; }
Gets or sets a value indicating whether the high point marker will be shown.
[Browsable(true)]
public bool ShowHighPointIndicator { get; set; }
Gets or sets a value indicating whether the last point marker will be shown.
[Browsable(true)]
public bool ShowLastPointIndicator { get; set; }
Gets or sets a value indicating whether the low point marker will be shown.
[Browsable(true)]
public bool ShowLowPointIndicator { get; set; }
Gets or sets a value indicating whether the point markers will be shown.
[Browsable(true)]
public bool ShowMarkers { get; set; }
Gets or sets a value indicating whether the negative points marker will be shown.
[Browsable(true)]
public bool ShowNegativePointIndicators { get; set; }
Gets or sets a value whether tooltips on the point markers will be shown.
[Browsable(true)]
public bool ShowTooltip { get; set; }
Methods
Creates a SparkSeries based on the SeriesType property of the column.
public static SparkSeries CreateSparkSeries(SparkSeriesType seriesType)
Returns the type of cell element to be created for the specified row.
public override Type GetCellType(GridViewRowInfo row)
The specified row.
Returns:The type of the cell to be created.
Overrides:
Fires while exporting or printing the sparkline cell element, allows customization of the series.
public virtual void RaiseOnSparklineElementExporting(object sender, SparklineElementExportingEventArgs args)
The sender which is raising the event on the column.
argsSparklineElementExportingEventArgsThe SparklineElementExportingEventArgs instance containing the event data.
Events
Fires when a spark line will be painted using the SolidBrush class.
public event PaintSparkFillEventHandler PaintSparkFill
Fires when a spark line will be painted using the Pen class.
public event PaintSparkStrokeEventHandler PaintSparkStroke
Fires before adding data points to the SparkSeriesobject. It is possible to cancel the event and bind the series.
public event SparkDataNeededEventHandler SparkDataNeeded
Fires while exporting or printing the sparkline cell element, allows customization of the series.
public event SparklineElementExportingEventHandler SparklineElementExporting