Class GridViewRatingColumn
Represents a column that visualizes the cell's value by using a rating element.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewRatingColumn : GridViewDataColumn, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IEditorProvider, INotifyPropertyChangingEx, IDataConversionInfoProvider, IGridViewEventListener, ITypeDescriptorContext, IServiceProvider
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
|
System.String
fieldName
A string value referring to the unique name of the column. |
GridViewRatingColumn(String, String)
Initializes a new instance of the GridViewRatingColumn class.
Declaration
public GridViewRatingColumn(string uniqueName, string fieldName)
Parameters
|
System.String
uniqueName
A string value referring to the unique name of the column. |
|
System.String
fieldName
A string value referring to the field name to which the column is bound. |
Fields
DirectionProperty
MaximumProperty
MinimumProperty
PercentageRoundingProperty
ReadOnlyProperty
SelectionModeProperty
ShouldPaintHoverProperty
ToolTipFormatStringProperty
ToolTipPrecisionProperty
Properties
DataType
Gets or sets the data type of the column.
Declaration
public override Type DataType { get; set; }
Property Value
|
System.Type
|
Overrides
Direction
Gets or sets the direction of rating element paint (Standard, Reversed).
Declaration
public RatingDirection Direction { get; set; }
Property Value
|
RatingDirection
The direction. |
Maximum
Gets or sets a value indicating the maximum value for the Rating.
Declaration
public double Maximum { get; set; }
Property Value
|
System.Double
The maximum. |
Minimum
Gets or sets a value indicating the minimum value for the Rating.
Declaration
public double Minimum { get; set; }
Property Value
|
System.Double
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
public double PercentageRounding { get; set; }
Property Value
|
System.Double
The percentage rounding. |
ReadOnly
Gets or sets a value indicating whether the user can edit the data in the column's cells.
Declaration
public bool ReadOnly { get; set; }
Property Value
|
System.Boolean
|
SelectionMode
Gets or sets the selection mode of the rating control (full item, half item, precise selection).
Declaration
public RatingSelectionMode SelectionMode { get; set; }
Property Value
|
RatingSelectionMode
The selection mode. |
ShouldPaintHover
Gets or sets a value indicating whether [should paint hover].
Declaration
public bool ShouldPaintHover { get; set; }
Property Value
|
System.Boolean
|
ToolTipFormatString
Gets or sets the tool tip format string.
Declaration
public string ToolTipFormatString { get; set; }
Property Value
|
System.String
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
public double ToolTipPrecision { get; set; }
Property Value
|
System.Double
The tool tip precision. |
Methods
GetCellType(GridViewRowInfo)
Gets the type of the cell.
Declaration
public override Type GetCellType(GridViewRowInfo row)
Parameters
|
GridViewRowInfo
row
The row. |
Returns
|
System.Type
|
Overrides
GetDefaultEditorType()
Gets the default editor type for the editor provider.
Declaration
public override Type GetDefaultEditorType()
Returns
|
System.Type
The default type. |