RadCommandBarGrip
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
Fields
public static RoutedEvent BeginDraggingEvent
public static RoutedEvent DraggingEvent
public static RoutedEvent EndDraggingEvent
public static RadProperty NumberOfDotsProperty
Properties
Gets or sets the space between dots.
public float DotSpacing { get; set; }
Gets or sets the number of dots.
public virtual int NumberOfDots { get; set; }
Gets or sets the orientation of the grip element.
public override Orientation Orientation { get; set; }
Overrides:
Gets or sets the CommandBarStripElement that owns the grip element.
[Browsable(false)]
public CommandBarStripElement Owner { get; }
Gets or sets the shadow offset of the dots.
public float ShadowOffset { get; set; }
Methods
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
protected void EndDrag()
Raises a bubble event to notify its parents about the beginning of a drag.
protected virtual bool OnBeginDragging(CancelEventArgs args)
A CancelEventArgs that contains the event data.
Returns:true if the drag should be canceled, false otherwise.
Raises a bubble event to notify its parents about the drag.
protected virtual void OnDragging(MouseEventArgs args)
A MouseEventArgs that contains the event data.
Called when a mouse button is pressed down over the item.
protected override void OnMouseDown(MouseEventArgs e)
The mouse event arguments.
Overrides:
Called when the mouse moves over the item, handling highlight and border highlight effects.
protected override void OnMouseMove(MouseEventArgs e)
The mouse event arguments.
Overrides:
Called when a mouse button is released over the item.
protected override void OnMouseUp(MouseEventArgs e)
The mouse event arguments.
Overrides:
Performs the main painting operation for the element, rendering fill, content, and border in the correct order.