Class
DropIndicationEventArgs

Provides data for the DisplayDropIndication and ClearDropIndication routed events.

Definition

Namespace:Telerik.Windows.Controls.FieldList

Assembly:Telerik.Windows.Controls.PivotFieldList.dll

Syntax:

cs-api-definition
public class DropIndicationEventArgs : RoutedEventArgs

Inheritance: objectDropIndicationEventArgs

Constructors

DropIndicationEventArgs(RoutedEvent, FrameworkElement, DropPosition)

Initializes a new instance of the DropIndicationEventArgs class.

Declaration

cs-api-definition
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

DropPosition

The position relative to the element.

DropIndicationEventArgs(RoutedEvent, object, FrameworkElement, DropPosition)

Initializes a new instance of the DropIndicationEventArgs class.

Declaration

cs-api-definition
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

object

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

DropPosition

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

cs-api-definition
public FrameworkElement Element { get; }

Property Value

FrameworkElement

Position

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

Declaration

cs-api-definition
public DropPosition Position { get; }

Property Value

DropPosition

Methods

ClearIndication(FrameworkElement)

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

Declaration

cs-api-definition
public static DropIndicationEventArgs ClearIndication(FrameworkElement element)

Parameters

element

FrameworkElement

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

cs-api-definition
public static DropIndicationEventArgs DropIndication(FrameworkElement element, DropPosition position)

Parameters

element

FrameworkElement

The element on which indication is requested.

position

DropPosition

The drop position relative to the element.

Returns

DropIndicationEventArgs

An instance of DropIndicationEventArgs object.