ClassRadCommandBarGrip
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class RadCommandBarGrip : RadCommandBarVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadCommandBarVisualElementRadCommandBarGrip
Implements:
Inherited Members
Constructors
RadCommandBarGrip(CommandBarStripElement)
Declaration
public RadCommandBarGrip(CommandBarStripElement owner)
Parameters
owner
Fields
NumberOfDotsProperty
Declaration
public static RadProperty NumberOfDotsProperty
Field Value
Properties
Delta
Gets the delta of the drag.
DotSize
Gets or sets the size of the painted dots.
DotSpacing
Gets or sets the space between dots.
IsDrag
Gets whether the item is being dragged.
NumberOfDots
Gets or sets the number of dots.
Orientation
Gets or sets the orientation of the grip element.
Declaration
public override Orientation Orientation { get; set; }
Property Value
Overrides
Owner
Gets or sets the CommandBarStripElement that owns the grip element.
Declaration
[Browsable(false)]
public CommandBarStripElement Owner { get; }
Property Value
ShadowOffset
Gets or sets the shadow offset of the dots.
Methods
BeginDrag(MouseEventArgs)
Declaration
protected void BeginDrag(MouseEventArgs e)
Parameters
e
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
EndDrag()
Declaration
protected void EndDrag()
OnBeginDragging(CancelEventArgs)
Raises a bubble event to notify its parents about the beginning of a drag.
Declaration
protected virtual bool OnBeginDragging(CancelEventArgs args)
Parameters
args
A CancelEventArgs that contains the event data.
Returns
true if the drag should be canceled, false otherwise.
OnDragging(MouseEventArgs)
Raises a bubble event to notify its parents about the drag.
Declaration
protected virtual void OnDragging(MouseEventArgs args)
Parameters
args
A MouseEventArgs that contains the event data.
OnEndDragging(EventArgs)
Raises a bubble event to notify its parents about the end of a drag.
OnMouseDown(MouseEventArgs)
Called when a mouse button is pressed down over the item.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
OnMouseEnter(EventArgs)
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
e
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
e
Overrides
OnMouseMove(MouseEventArgs)
Called when the mouse moves over the item, handling highlight and border highlight effects.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
OnMouseUp(MouseEventArgs)
Called when a mouse button is released over the item.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
PaintDots(IGraphics, float, SizeF)
Paints the dots of the grip element.
PaintElement(IGraphics, float, SizeF)
Performs the main painting operation for the element, rendering fill, content, and border in the correct order.
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
graphics
The graphics context used for rendering.
angle
The rotation angle to apply during painting.
scale
The scaling factor to apply during painting.
Overrides