ClassItemDragStartingContext
Class
Represents the context that is passed as a parameter of a ItemDragStartingCommand.
Definition
Namespace:Telerik.UI.Xaml.Controls.Data.ListView.Commands
Assembly:Telerik.WinUI.Controls.dll
Syntax:
cs-api-definition
public class ItemDragStartingContext
Inheritance: objectItemDragStartingContext
Constructors
ItemDragStartingContext(object, DragAction)
Initializes a new instance of the ItemDragStartingContext class.
Declaration
cs-api-definition
public ItemDragStartingContext(object dataItem, DragAction itemAction)
Parameters
dataItem
itemAction
ItemDragStartingContext(object, DragAction, RadListViewItem)
Initializes a new instance of the ItemDragStartingContext class.
Declaration
cs-api-definition
public ItemDragStartingContext(object dataItem, DragAction itemAction, RadListViewItem container)
Parameters
dataItem
itemAction
container
Properties
Action
Gets or sets the drag action type.
Container
Gets the RadListViewItem currently dragged.
Declaration
cs-api-definition
public RadListViewItem Container { get; }
Property Value
FinalDragOffset
Gets or sets the maximum drag offset that item will set to after when the operation finish successfully.
Declaration
cs-api-definition
public double FinalDragOffset { get; set; }
Property Value
The maximum drag offset. Can be negative value.