GridViewRatingColumn
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
Initializes a new instance of the GridViewRatingColumn class.
public GridViewRatingColumn()
Initializes a new instance of the GridViewRatingColumn class.
Initializes a new instance of the GridViewRatingColumn class.
public GridViewRatingColumn(string fieldName)
A string value referring to the unique name of the column.
Fields
public static RadProperty DirectionProperty
public static RadProperty MaximumProperty
public static RadProperty MinimumProperty
public static RadProperty PercentageRoundingProperty
public static RadProperty ReadOnlyProperty
public static RadProperty SelectionModeProperty
public static RadProperty ShouldPaintHoverProperty
public static RadProperty ToolTipFormatStringProperty
public static RadProperty ToolTipPrecisionProperty
Properties
Gets or sets the data type of the column.
public override Type DataType { get; set; }
Overrides:
Gets or sets the direction of rating element paint (Standard, Reversed).
[Browsable(true)]
public RatingDirection Direction { get; set; }
The direction.
Gets or sets a value indicating the maximum value for the Rating.
[Browsable(true)]
public double Maximum { get; set; }
The maximum.
Gets or sets a value indicating the minimum value for the Rating.
[Browsable(true)]
public double Minimum { get; set; }
The minimum.
Gets or sets the percentage rounding. In precise mode, the rounding determines when the value will round to the minimum/maximum.
[Browsable(true)]
public double PercentageRounding { get; set; }
The percentage rounding.
Gets or sets a value indicating whether the user can edit the data in the column's cells.
[Browsable(true)]
public bool ReadOnly { get; set; }
Gets or sets the selection mode of the rating control (full item, half item, precise selection).
[Browsable(true)]
public RatingSelectionMode SelectionMode { get; set; }
The selection mode.
Gets or sets a value indicating whether [should paint hover].
[Browsable(true)]
public bool ShouldPaintHover { get; set; }
true if [should paint hover]; otherwise, false.
Gets or sets the tool tip format string.
[Browsable(true)]
public string ToolTipFormatString { get; set; }
The tool tip format string.
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.
[Browsable(true)]
public double ToolTipPrecision { get; set; }
The tool tip precision.
Methods
Gets the type of the cell.
public override Type GetCellType(GridViewRowInfo row)
The row.
Returns:Overrides:
Gets the default editor type for the editor provider.