New to Telerik UI for WinForms? Start a free 30-day trial

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:

C#
public class GridViewRatingColumn : GridViewDataColumn, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IEditorProvider, INotifyPropertyChangingEx, IContextMenuProvider, IDataConversionInfoProvider, IGridViewEventListener, ITypeDescriptorContext, IServiceProvider

Inheritance: objectDisposableObjectRadObjectGridViewColumnGridViewDataColumnGridViewRatingColumn...

Implements: IContextMenuProviderICustomTypeDescriptorIDataConversionInfoProviderIDisposableIEditorProviderIGridViewEventListenerINotifyPropertyChangedINotifyPropertyChangingExIServiceProviderITypeDescriptorContext...

Inherited Members GridViewDataColumn.FormatStringPropertyGridViewDataColumn.DataEditFormatStringPropertyGridViewDataColumn.FormatInfoPropertyGridViewDataColumn.NullValuePropertyGridViewDataColumn.DataSourceNullValuePropertyGridViewDataColumn.UseDataTypeConverterWhenSortingPropertyGridViewDataColumn.DataTypeConverterPropertyGridViewDataColumn.DataTypePropertyGridViewDataColumn.AllowFilteringPropertyGridViewDataColumn.AllowSearchingPropertyGridViewDataColumn.AllowNaturalSortPropertyGridViewDataColumn.AutoFilterDelayPropertyGridViewDataColumn.AllowCellMergingPropertyGridViewDataColumn.excelFormatGridViewDataColumn.GetDefaultDataTypeConverter(Type)GridViewDataColumn.ToString()GridViewDataColumn.GetDistinctValues()GridViewDataColumn.GetDistinctValuesWithFilter()GridViewDataColumn.UpdateDistinctValuesOnAdd(object)GridViewDataColumn.UpdateDistinctValues()GridViewDataColumn.UpdateDistinctValuesWithFilter()GridViewDataColumn.UpdateDistinctValuesOnAddWithFilter(object)GridViewDataColumn.OnNotifyPropertyChanging(PropertyChangingEventArgsEx)GridViewDataColumn.Initialize()GridViewDataColumn.OnPropertyChanged(RadPropertyChangedEventArgs)GridViewDataColumn.GetEventInfo(RadProperty, out GridEventDispatchMode)GridViewDataColumn.PreProcessEvent(GridViewEvent)GridViewDataColumn.ProcessEvent(GridViewEvent)GridViewDataColumn.PostProcessEvent(GridViewEvent)GridViewDataColumn.AnalyzeQueue(List<GridViewEvent>)GridViewDataColumn.CreateSnapshot()GridViewDataColumn.AutoFilterDelayGridViewDataColumn.AllowFilteringGridViewDataColumn.AllowSearchingGridViewDataColumn.AllowNaturalSortGridViewDataColumn.DataTypeConverterGridViewDataColumn.UseDataTypeConverterWhenSortingGridViewDataColumn.FilterDescriptorGridViewDataColumn.ExcelExportTypeGridViewDataColumn.ExcelExportFormatStringGridViewDataColumn.FormatInfoGridViewDataColumn.FormatStringGridViewDataColumn.NullValueGridViewDataColumn.DataSourceNullValueGridViewDataColumn.AllowCellMergingGridViewDataColumn.DistinctValuesGridViewDataColumn.DistinctValuesWithFilterGridViewDataColumn.DesiredEventsGridViewDataColumn.PriorityGridViewDataColumn.DesiredProcessModeGridViewColumn.FieldNamePropertyGridViewColumn.NamePropertyGridViewColumn.HeaderTextPropertyGridViewColumn.ExpressionPropertyGridViewColumn.EnableExpressionEditorPropertyGridViewColumn.IsVisiblePropertyGridViewColumn.IsAutoGeneratedPropertyGridViewColumn.VisibleInColumnChooserPropertyGridViewColumn.PinPositionPropertyGridViewColumn.AllowSortPropertyGridViewColumn.AllowGroupPropertyGridViewColumn.AllowResizePropertyGridViewColumn.AllowHidePropertyGridViewColumn.DisableHTMLRenderingPropertyGridViewColumn.WrapTextPropertyGridViewColumn.TextAlignmentPropertyGridViewColumn.HeaderTextAlignmentPropertyGridViewColumn.HeaderImagePropertyGridViewColumn.HeaderSvgImagePropertyGridViewColumn.ImageLayoutPropertyGridViewColumn.TextImageRelationPropertyGridViewColumn.WidthPropertyGridViewColumn.RenderWidthPropertyGridViewColumn.MinWidthPropertyGridViewColumn.MaxWidthPropertyGridViewColumn.RowSpanPropertyGridViewColumn.StretchVerticallyPropertyGridViewColumn.ShowEditorPropertyGridViewColumn.IsCurrentPropertyGridViewColumn.AutoEllipsisPropertyGridViewColumn.AutoSizeModePropertyGridViewColumn.AllowReorderPropertyGridViewColumn.TagPropertyGridViewColumn.CreateConditionalFormattingForm()GridViewColumn.BestFit()GridViewColumn.Sort(RadSortOrder)GridViewColumn.Sort(RadSortOrder, bool)GridViewColumn.GetDefaultGroupByExpression()GridViewColumn.CanDragToGroup(GridViewTemplate)GridViewColumn.CanDragToGroup()GridViewColumn.GetDefaultMinWidth()GridViewColumn.IsPropertyCancelable(RadPropertyMetadata)GridViewColumn.ShowContextMenu()GridViewColumn.GetDefaultEditor()GridViewColumn.InitializeEditor(IInputEditor)GridViewColumn.CreateContextMenuItems(RadDropDownMenu)GridViewColumn.MergeMenus(RadDropDownMenu, params object[])GridViewColumn.MergeMenus(IContextMenuProvider, params object[])GridViewColumn.MergeMenus(IContextMenuManager, params object[])GridViewColumn.ToggleSortOrder()GridViewColumn.DispatchEvent(KnownEvents, GridEventType, GridEventDispatchMode, object, object[])GridViewColumn.OnNotifyPropertyChanging(string)GridViewColumn.OnPropertyChanging(RadPropertyChangingEventArgs)GridViewColumn.IsFieldNamePathGridViewColumn.HeaderImageGridViewColumn.HeaderSvgImageGridViewColumn.ImageLayoutGridViewColumn.TextImageRelationGridViewColumn.WidthGridViewColumn.MinWidthGridViewColumn.MaxWidthGridViewColumn.RowSpanGridViewColumn.StretchVerticallyGridViewColumn.AutoSizeModeGridViewColumn.TagGridViewColumn.FieldNameGridViewColumn.NameGridViewColumn.SortOrderGridViewColumn.ExpressionGridViewColumn.EnableExpressionEditorGridViewColumn.ConditionalFormattingObjectListGridViewColumn.IndexGridViewColumn.OwnerTemplateGridViewColumn.IsDataBoundGridViewColumn.IsSortedGridViewColumn.IsGroupedGridViewColumn.VisibleInColumnChooserGridViewColumn.IsVisibleGridViewColumn.IsCurrentGridViewColumn.IsPinnedGridViewColumn.PinPositionGridViewColumn.AllowReorderGridViewColumn.AllowSortGridViewColumn.AllowGroupGridViewColumn.AllowResizeGridViewColumn.AllowHideGridViewColumn.HeaderTextGridViewColumn.DisableHTMLRenderingGridViewColumn.WrapTextGridViewColumn.AutoEllipsisGridViewColumn.HeaderTextAlignmentGridViewColumn.TextAlignmentGridViewColumn.EventDispatcherGridViewColumn.DpiScaleGridViewColumn.ContextMenuGridViewColumn.PropertyChangingRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadObject.DisposeManagedResources()RadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.GetValue(RadProperty)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.SetValueCore(RadPropertyValue, object, object, ValueSource)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.AddStylePropertySetting(IPropertySetting)RadObject.GetInheritedValue(RadProperty)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.PerformDispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing...

Constructors

Initializes a new instance of the GridViewRatingColumn class.

C#
public GridViewRatingColumn()

Initializes a new instance of the GridViewRatingColumn class.

C#
public GridViewRatingColumn(string uniqueName, string fieldName)
Parameters:uniqueNamestring

A string value referring to the unique name of the column.

fieldNamestring

A string value referring to the field name to which the column is bound.

Initializes a new instance of the GridViewRatingColumn class.

C#
public GridViewRatingColumn(string fieldName)
Parameters:fieldNamestring

A string value referring to the unique name of the column.

Fields

Identifies the direction in which the rating is painted.

C#
public static RadProperty DirectionProperty

Identifies the upper bound of the rating scale.

C#
public static RadProperty MaximumProperty

Identifies the lower bound of the rating scale.

C#
public static RadProperty MinimumProperty

Identifies the precise-mode threshold for rounding a rating to the minimum or maximum.

C#
public static RadProperty PercentageRoundingProperty

Identifies whether users can change the rating with the mouse.

C#
public static RadProperty ReadOnlyProperty

Identifies whether selection snaps to whole items, half items, or precise values.

C#
public static RadProperty SelectionModeProperty

Identifies whether the rating's hover visual layer is applied.

C#
public static RadProperty ShouldPaintHoverProperty

Identifies the format string used for the rating tooltip.

C#
public static RadProperty ToolTipFormatStringProperty

Identifies the minimum rating change that updates the tooltip.

C#
public static RadProperty ToolTipPrecisionProperty

Properties

Gets or sets the data type of the column.

C#
public override Type DataType { get; set; }

Overrides: GridViewDataColumn.DataType

Gets or sets the direction of rating element paint (Standard, Reversed).

C#
[Browsable(true)]
public RatingDirection Direction { get; set; }
Property Value:

The direction.

Gets or sets a value indicating the maximum value for the Rating.

C#
[Browsable(true)]
public double Maximum { get; set; }
Property Value:

The maximum.

Gets or sets a value indicating the minimum value for the Rating.

C#
[Browsable(true)]
public double Minimum { get; set; }
Property Value:

The minimum.

Gets or sets the percentage rounding. In precise mode, the rounding determines when the value will round to the minimum/maximum.

C#
[Browsable(true)]
public double PercentageRounding { get; set; }
Property Value:

The percentage rounding.

Gets or sets a value indicating whether the user can edit the data in the column's cells.

C#
[Browsable(true)]
public bool ReadOnly { get; set; }

Gets or sets the selection mode of the rating control (full item, half item, precise selection).

C#
[Browsable(true)]
public RatingSelectionMode SelectionMode { get; set; }
Property Value:

The selection mode.

Gets or sets a value indicating whether [should paint hover].

C#
[Browsable(true)]
public bool ShouldPaintHover { get; set; }
Property Value:

true if [should paint hover]; otherwise, false.

Gets or sets the tool tip format string.

C#
[Browsable(true)]
public string ToolTipFormatString { get; set; }
Property Value:

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.

C#
[Browsable(true)]
public double ToolTipPrecision { get; set; }
Property Value:

The tool tip precision.

Methods

Gets the type of the cell.

C#
public override Type GetCellType(GridViewRowInfo row)
Parameters:rowGridViewRowInfo

The row.

Returns:

Type

Overrides: GridViewDataColumn.GetCellType(GridViewRowInfo)

Gets the default editor type for the editor provider.

C#
public override Type GetDefaultEditorType()
Returns:

Type

The default type.

Overrides: GridViewColumn.GetDefaultEditorType()