New to Telerik UI for WPFStart a free 30-day trial

Provides data for the DisplayDropIndication and ClearDropIndication routed events.

Definition

Namespace:Telerik.Windows.Controls.FieldList

Assembly:Telerik.Windows.Controls.PivotFieldList.dll

Syntax:

C#
public class DropIndicationEventArgs : RoutedEventArgs

Inheritance: objectDropIndicationEventArgs

Constructors

Initializes a new instance of the DropIndicationEventArgs class.

C#
protected DropIndicationEventArgs(RoutedEvent routedEvent, FrameworkElement element, DropPosition position)
Parameters:routedEventRoutedEvent

The routed event identifier for this instance of the RoutedEventArgs class.

elementFrameworkElement

The Element an indication is requested for.

positionDropPosition

The position relative to the element.

Initializes a new instance of the DropIndicationEventArgs class.

C#
protected DropIndicationEventArgs(RoutedEvent routedEvent, object source, FrameworkElement element, DropPosition position)
Parameters:routedEventRoutedEvent

The routed event identifier for this instance of the RoutedEventArgs class.

sourceobject

An alternate source that will be reported when the event is handled. This pre-populates the System.Windows.RoutedEventArgs.Source property.

elementFrameworkElement

The Element an indication is requested for.

positionDropPosition

The position relative to the element.

Properties

Element

FrameworkElement

Gets the element on which a drop occurred and indicator is requested for or removed for.

C#
public FrameworkElement Element { get; }

Gets the DropPosition of the drag and drop operation relative to the Element.

C#
public DropPosition Position { get; }

Methods

Initializes a new instance of the DropIndicationEventArgs that encloses a ClearDropIndication event.

C#
public static DropIndicationEventArgs ClearIndication(FrameworkElement element)
Parameters:elementFrameworkElement

The element on which indication is no longer required.

Returns:

DropIndicationEventArgs

An instance of DropIndicationEventArgs object.

Initializes a new instance of the DropIndicationEventArgs that encloses a DisplayDropIndication event.

C#
public static DropIndicationEventArgs DropIndication(FrameworkElement element, DropPosition position)
Parameters:elementFrameworkElement

The element on which indication is requested.

positionDropPosition

The drop position relative to the element.

Returns:

DropIndicationEventArgs

An instance of DropIndicationEventArgs object.