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
Initializes a new instance of the DropIndicationEventArgs class.
protected DropIndicationEventArgs(RoutedEvent routedEvent, FrameworkElement element, DropPosition position)
The routed event identifier for this instance of the RoutedEventArgs class.
elementFrameworkElementThe Element an indication is requested for.
positionDropPositionThe position relative to the element.
Initializes a new instance of the DropIndicationEventArgs class.
protected DropIndicationEventArgs(RoutedEvent routedEvent, object source, FrameworkElement element, DropPosition position)
The routed event identifier for this instance of the RoutedEventArgs class.
sourceobjectAn alternate source that will be reported when the event is handled. This pre-populates the System.Windows.RoutedEventArgs.Source property.
elementFrameworkElementThe Element an indication is requested for.
positionDropPositionThe position relative to the element.
Properties
Element
FrameworkElement
Gets the element on which a drop occurred and indicator is requested for or removed for.
public FrameworkElement Element { get; }
Gets the DropPosition of the drag and drop operation relative to the Element.
public DropPosition Position { get; }
Methods
Initializes a new instance of the DropIndicationEventArgs that encloses a ClearDropIndication event.
public static DropIndicationEventArgs ClearIndication(FrameworkElement element)
The element on which indication is no longer required.
Returns:An instance of DropIndicationEventArgs object.
Initializes a new instance of the DropIndicationEventArgs that encloses a DisplayDropIndication event.
public static DropIndicationEventArgs DropIndication(FrameworkElement element, DropPosition position)
The element on which indication is requested.
positionDropPositionThe drop position relative to the element.
An instance of DropIndicationEventArgs object.