Class DropIndicationEventArgs
Provides data for the DisplayDropIndication and ClearDropIndication routed events.
Inherited Members
Namespace: Telerik.Windows.Controls.FieldList
Assembly: Telerik.Windows.Controls.PivotFieldList.dll
Syntax
public class DropIndicationEventArgs : RadRoutedEventArgs
Constructors
DropIndicationEventArgs(RoutedEvent, Object, FrameworkElement, DropPosition)
Initializes a new instance of the DropIndicationEventArgs class.
Declaration
protected DropIndicationEventArgs(RoutedEvent routedEvent, object source, FrameworkElement element, DropPosition position)
Parameters
RoutedEvent
routedEvent
The routed event identifier for this instance of the System.Windows.RoutedEventArgs class. |
System.Object
source
An alternate source that will be reported when the event is handled. This pre-populates the System.Windows.RoutedEventArgs.Source property. |
System.Windows.FrameworkElement
element
The Element an indication is requested for. |
DropPosition
position
The position relative to the |
DropIndicationEventArgs(RoutedEvent, FrameworkElement, DropPosition)
Initializes a new instance of the DropIndicationEventArgs class.
Declaration
protected DropIndicationEventArgs(RoutedEvent routedEvent, FrameworkElement element, DropPosition position)
Parameters
RoutedEvent
routedEvent
The routed event identifier for this instance of the System.Windows.RoutedEventArgs class. |
System.Windows.FrameworkElement
element
The Element an indication is requested for. |
DropPosition
position
The position relative to the |
Properties
Element
Gets the element on which a drop occurred and indicator is requested for or removed for.
Declaration
public FrameworkElement Element { get; }
Property Value
System.Windows.FrameworkElement
|
Position
Gets the DropPosition of the drag and drop operation relative to the Element.
Declaration
public DropPosition Position { get; }
Property Value
DropPosition
|
Methods
ClearIndication(FrameworkElement)
Initializes a new instance of the DropIndicationEventArgs that encloses a ClearDropIndication event.
Declaration
public static DropIndicationEventArgs ClearIndication(FrameworkElement element)
Parameters
System.Windows.FrameworkElement
element
The element on which indication is no longer required. |
Returns
DropIndicationEventArgs
An instance of DropIndicationEventArgs object. |
DropIndication(FrameworkElement, DropPosition)
Initializes a new instance of the DropIndicationEventArgs that encloses a DisplayDropIndication event.
Declaration
public static DropIndicationEventArgs DropIndication(FrameworkElement element, DropPosition position)
Parameters
System.Windows.FrameworkElement
element
The element on which indication is requested. |
DropPosition
position
The drop position relative to the |
Returns
DropIndicationEventArgs
An instance of DropIndicationEventArgs object. |