Class RadCommandBarGrip
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadCommandBarGrip : RadCommandBarVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadCommandBarGrip(CommandBarStripElement)
Declaration
public RadCommandBarGrip(CommandBarStripElement owner)
Parameters
CommandBarStripElement
owner
|
Fields
BeginDraggingEvent
DraggingEvent
EndDraggingEvent
NumberOfDotsProperty
Properties
Delta
Gets the delta of the drag.
Declaration
public PointF Delta { get; }
Property Value
System.Drawing.PointF
|
DotSize
Gets or sets the size of the painted dots.
Declaration
public float DotSize { get; set; }
Property Value
System.Single
|
DotSpacing
Gets or sets the space between dots.
Declaration
public float DotSpacing { get; set; }
Property Value
System.Single
|
IsDrag
Gets whether the item is being dragged.
Declaration
public bool IsDrag { get; }
Property Value
System.Boolean
|
NumberOfDots
Gets or sets the number of dots.
Declaration
public virtual int NumberOfDots { get; set; }
Property Value
System.Int32
|
Orientation
Gets or sets the orientation of the grip element.
Declaration
public override Orientation Orientation { get; set; }
Property Value
System.Windows.Forms.Orientation
|
Overrides
Owner
Gets or sets the CommandBarStripElement that owns the grip element.
Declaration
public CommandBarStripElement Owner { get; }
Property Value
CommandBarStripElement
|
ShadowOffset
Gets or sets the shadow offset of the dots.
Declaration
public float ShadowOffset { get; set; }
Property Value
System.Single
|
Methods
BeginDrag(MouseEventArgs)
Declaration
protected void BeginDrag(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
CreateChildElements()
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
System.ComponentModel.CancelEventArgs
args
A System.ComponentModel.CancelEventArgs that contains the event data. |
Returns
System.Boolean
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
System.Windows.Forms.MouseEventArgs
args
A System.Windows.Forms.MouseEventArgs that contains the event data. |
OnEndDragging(EventArgs)
Raises a bubble event to notify its parents about the end of a drag.
Declaration
protected virtual void OnEndDragging(EventArgs args)
Parameters
System.EventArgs
args
A System.EventArgs that contains the event data. |
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseEnter(EventArgs)
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseUp(MouseEventArgs)
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
PaintDots(IGraphics, Single, SizeF)
Paints the dots of the grip element.
Declaration
protected virtual void PaintDots(IGraphics g, float angle, SizeF scale)
Parameters
IGraphics
g
The IGraphics object where the element should be painted. |
System.Single
angle
The angle under which the element should be painted. |
System.Drawing.SizeF
scale
The factor of scaling the element. |
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|