ClassGridViewRatingColumn
Represents a column that visualizes the cell's value by using a rating element.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewRatingColumn : GridViewDataColumn, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IEditorProvider, INotifyPropertyChangingEx, IContextMenuProvider, IDataConversionInfoProvider, IGridViewEventListener, ITypeDescriptorContext, IServiceProvider
Inheritance: objectDisposableObjectRadObjectGridViewColumnGridViewDataColumnGridViewRatingColumn
Implements:
Inherited Members
Constructors
GridViewRatingColumn()
Initializes a new instance of the GridViewRatingColumn class.
Declaration
public GridViewRatingColumn()
GridViewRatingColumn(string)
Initializes a new instance of the GridViewRatingColumn class.
Declaration
public GridViewRatingColumn(string fieldName)
Parameters
fieldName
A string value referring to the unique name of the column.
GridViewRatingColumn(string, string)
Initializes a new instance of the GridViewRatingColumn class.
Fields
PercentageRoundingProperty
Declaration
public static RadProperty PercentageRoundingProperty
Field Value
SelectionModeProperty
Declaration
public static RadProperty SelectionModeProperty
Field Value
ShouldPaintHoverProperty
Declaration
public static RadProperty ShouldPaintHoverProperty
Field Value
ToolTipFormatStringProperty
Declaration
public static RadProperty ToolTipFormatStringProperty
Field Value
ToolTipPrecisionProperty
Declaration
public static RadProperty ToolTipPrecisionProperty
Field Value
Properties
DataType
Gets or sets the data type of the column.
Declaration
public override Type DataType { get; set; }
Property Value
Overrides
Direction
Gets or sets the direction of rating element paint (Standard, Reversed).
Declaration
[Browsable(true)]
public RatingDirection Direction { get; set; }
Property Value
The direction.
Maximum
Gets or sets a value indicating the maximum value for the Rating.
Declaration
[Browsable(true)]
public double Maximum { get; set; }
Property Value
The maximum.
Minimum
Gets or sets a value indicating the minimum value for the Rating.
Declaration
[Browsable(true)]
public double Minimum { get; set; }
Property Value
The minimum.
PercentageRounding
Gets or sets the percentage rounding. In precise mode, the rounding determines when the value will round to the minimum/maximum.
Declaration
[Browsable(true)]
public double PercentageRounding { get; set; }
Property Value
The percentage rounding.
ReadOnly
Gets or sets a value indicating whether the user can edit the data in the column's cells.
Declaration
[Browsable(true)]
public bool ReadOnly { get; set; }
Property Value
SelectionMode
Gets or sets the selection mode of the rating control (full item, half item, precise selection).
Declaration
[Browsable(true)]
public RatingSelectionMode SelectionMode { get; set; }
Property Value
The selection mode.
ShouldPaintHover
Gets or sets a value indicating whether [should paint hover].
Declaration
[Browsable(true)]
public bool ShouldPaintHover { get; set; }
Property Value
true if [should paint hover]; otherwise, false.
ToolTipFormatString
Gets or sets the tool tip format string.
Declaration
[Browsable(true)]
public string ToolTipFormatString { get; set; }
Property Value
The tool tip format string.
ToolTipPrecision
Gets or sets the tool tip precision. This property is used to determine when the tooltip should reflect the value change. The default value is 0.1, so changes with lesser value will not be affected.
Declaration
[Browsable(true)]
public double ToolTipPrecision { get; set; }
Property Value
The tool tip precision.
Methods
GetCellType(GridViewRowInfo)
Gets the type of the cell.
Declaration
public override Type GetCellType(GridViewRowInfo row)
Parameters
row
The row.
Returns
Overrides
GetDefaultEditorType()
Gets the default editor type for the editor provider.
Declaration
public override Type GetDefaultEditorType()
Returns
The default type.
Overrides