Class SnapshotDragItem
Represents a snapshot of the dragged item.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class SnapshotDragItem : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Constructors
SnapshotDragItem(RadItem)
Initializes a new instance of the SnapshotDragItem class.
Declaration
public SnapshotDragItem(RadItem item)
Parameters
RadItem
item
The item. |
Properties
ControlBoundingRectangle
Represents the rectangle which surrounds the element bounds after the rotation caused by setting the AngleTransform property to some degree. The rectangle is in control coordinates.
Declaration
public override Rectangle ControlBoundingRectangle { get; }
Property Value
System.Drawing.Rectangle
|
Overrides
ElementTree
Gets a reference to the tree object, that contains information about the scene where the element is currently visualized.
Declaration
public override ComponentThemableElementTree ElementTree { get; }
Property Value
ComponentThemableElementTree
|
Overrides
Item
Methods
CanDragCore(Point)
Determines whether the element may be dragged.
Declaration
protected override bool CanDragCore(Point dragStartPoint)
Parameters
System.Drawing.Point
dragStartPoint
|
Returns
System.Boolean
|
Overrides
GetDragContextCore()
Gets the context, associated with a drag operation.
Declaration
protected override object GetDragContextCore()
Returns
System.Object
|
Overrides
GetDragHintCore()
Gets the image to be used as a hint when this element is being dragged.
Declaration
protected override Image GetDragHintCore()
Returns
System.Drawing.Image
|
Overrides
InitializeDragHint()
Initializes the drag hint.
Declaration
protected virtual Image InitializeDragHint()
Returns
System.Drawing.Image
|
SetElementTree(ComponentThemableElementTree)
Sets the element tree.
Declaration
protected void SetElementTree(ComponentThemableElementTree value)
Parameters
ComponentThemableElementTree
value
The value. |