ClassDropIndicationEventArgs
Provides data for the DisplayDropIndication and ClearDropIndication routed events.
Definition
Namespace:Telerik.Windows.Controls.FieldList
Assembly:Telerik.Windows.Controls.PivotFieldList.dll
Syntax:
public class DropIndicationEventArgs : RoutedEventArgs
Inheritance: objectDropIndicationEventArgs
Constructors
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 RoutedEventArgs class.
element
FrameworkElement
The Element an indication is requested for.
position
The position relative to the element.
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 RoutedEventArgs class.
source
An alternate source that will be reported when the event is handled. This pre-populates the System.Windows.RoutedEventArgs.Source property.
element
FrameworkElement
The Element an indication is requested for.
position
The position relative to the element.
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
FrameworkElement
Position
Gets the DropPosition of the drag and drop operation relative to the Element.
Methods
ClearIndication(FrameworkElement)
Initializes a new instance of the DropIndicationEventArgs that encloses a ClearDropIndication event.
Declaration
public static DropIndicationEventArgs ClearIndication(FrameworkElement element)
Parameters
element
FrameworkElement
The element on which indication is no longer required.
Returns
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
element
FrameworkElement
The element on which indication is requested.
position
The drop position relative to the element.
Returns
An instance of DropIndicationEventArgs object.