Skip to main content
A newer version of this page is available. .

RatingContextButton Members

A context item that allows an end-user to rate the content using the grading scale.

Constructors

Name Description
RatingContextButton() Initializes a new instance of the RatingContextButton class.

Properties

Name Description
Alignment Gets or sets the current item’s alignment relative to the owner control. This property is obsolete, use ContextItem.AlignmentOptions instead. Inherited from ContextItem.
AlignmentOptions Provides access to options that specify the panel in which the item is displayed, and its position in the panel. Inherited from ContextItem.
AllowGlyphSkinning Gets or sets whether the current item’s glyph is painted using the foreground color. Inherited from ContextItem.
AnchorAlignment Gets or sets the alignment of the current item relative to the anchor element. Inherited from ContextItem.
AnchorElement Gets or sets an item (anchor element) relative to which the current item is aligned. Inherited from ContextItem.
AnchorElementId Gets or sets the globally unique identifier of the item (anchor element), relative to which the current item is aligned. Inherited from ContextItem.
AnchorIndent Gets or sets the indent between the current item and the anchor element. Inherited from ContextItem.
AnchorOffset Gets or sets the translation of the current item from the anchor element. Inherited from ContextItem.
AnimationType Gets or sets the type of the animation used to show and hide the current item. Inherited from ContextItem.
AppearanceHover Provides access to the settings used to paint the current item in the hovered state. Inherited from ContextItem.
AppearanceNormal Provides access to the appearance settings used to paint the current item in the normal (not hovered) state. Inherited from ContextItem.
CheckedGlyph Gets or sets the glyph representing checked points.
Collection Gets the collection to which the current item belongs. Inherited from ContextItem.
Enabled Gets or sets whether the current item can respond to end-user interaction. Inherited from ContextItem.
FillPrecision Gets or sets whether the rating can be specified with precision up to integers, integers and half-integers, or decimals.
Glyph Gets or sets the glyph displayed by the current item in the normal (not hovered) state. Inherited from ContextItem.
HasCheckedGlyph Gets whether or not this RatingContextButton has a checked point glyph assigned.
HasGlyph Gets whether or not this ContextItem has a glyph assigned. Inherited from ContextItem.
HasHoverGlyph Gets whether or not this ContextItem has a hovered state glyph assigned. Inherited from ContextItem.
HoverGlyph Gets or sets the glyph displayed by the current item in the hovered state. Inherited from ContextItem.
Id Gets or sets the current item’s unique identifier. Inherited from ContextItem.
ImageOptions Provides access to all properties related to the RatingContextButton grading scale glyphs.
ImageOptionsCollection Provides access to individual image-related property sets for every RatingContextButton visual state - Normal, Hovered, and Checked.
ItemCount Gets or sets the number of points in the grading scale.
Name Gets or sets the current item’s name. Inherited from ContextItem.
OriginItem This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from ContextItem.
Rating Gets or sets the rating specified by the current item.
ShowToolTips Gets or sets whether hints can be displayed for the current item. Inherited from ContextItem.
Size Gets or sets the current item’s size. Inherited from ContextItem.
SuperTip Gets or sets a SuperToolTip for the current context item. Inherited from ContextItem.
Tag Gets or sets custom data associated with the current item. Inherited from ContextItem.
ToolTip Gets or sets the text of the hint for the current item. Inherited from ContextItem.
ToolTipIconType Gets or sets the type of icon displayed in the hint for the current item. Inherited from ContextItem.
ToolTipTitle Gets or sets the title of the hint for the current item. Inherited from ContextItem.
Visibility Gets or sets the item visibility. Inherited from ContextItem.

Methods

Name Description
AssignPropertiesInternal(ContextItem, Boolean) This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from ContextItem.
AssignPropertiesInternal(ContextItem) This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from ContextItem.
BeginUpdate() Locks the ContextItem object by preventing visual updates until the EndUpdate method is called. Inherited from ContextItem.
CancelUpdate() Unlocks the ContextItem object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from ContextItem.
Clone() Creates a new ContextItem object that is a copy of the current instance. Inherited from ContextItem.
EndUpdate() Unlocks the ContextItem object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from ContextItem.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetActualCheckedGlyph(ISkinProvider) Returns the Image object specifying the checked point glyph actually assigned.
GetActualGlyph(ISkinProvider) Returns the Image object specifying the glyph actually assigned. Inherited from ContextItem.
GetActualHoverGlyph(ISkinProvider) Returns the Image object specifying the hovered state glyph actually assigned. Inherited from ContextItem.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
RaiseContextItemClick(MouseEventArgs, ContextItemViewInfo) Raises the ContextItem.Click event. Inherited from ContextItem.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ResetSuperTip() Removes the SuperToolTip object assigned to the current context item. Inherited from ContextItem.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
Click Fires when the current item is clicked. Inherited from ContextItem.
CustomToolTip Allows the hint for the current item to be customized. This event is only raised for RatingContextButton objects. Inherited from ContextItem.
See Also