ClassFieldPayload
A IField payload used in drag operations between the RadPivotFieldList areas.
Definition
Namespace:Telerik.Windows.Controls.FieldList
Assembly:Telerik.Windows.Controls.PivotFieldList.dll
Syntax:
public sealed class FieldPayload : ViewModelBase, INotifyPropertyChanged, IDisposable
Inheritance: objectViewModelBaseFieldPayload
Implements:
Inherited Members
Constructors
FieldPayload(IField)
Initializes a new instance of the FieldPayload class.
Properties
AllowedEffects
Gets the allowed DragDropEffects.
Declaration
public DragDropEffects AllowedEffects { get; }
Property Value
DragDropEffects
DragAction
Gets the an FieldDragAction that identifies the expected outcome if drop occurs with the current settings.
Declaration
public FieldDragAction DragAction { get; }
Property Value
DraggedField
Gets the IField this payload carries.
RemoveFromSource
Gets or sets a value that indicates if the DraggedField should be removed upon drag completion.
Methods
OnDrop()
Call to notify the drag and drop did drop. Call this method once to apply the DragAction.
Declaration
public void OnDrop()
OnDropComplete()
Call to notify the drag and drop did drop complete. Call this method once to apply the DragAction.
Declaration
public void OnDropComplete()
SetDestination(FieldCollection)
Set the potential destination for the DraggedField.
Declaration
public void SetDestination(FieldCollection destinationCollection)
Parameters
destinationCollection
The destination FieldCollection.
SetDestination(FieldCollection, int)
Set the potential destination for the DraggedField.
Declaration
public void SetDestination(FieldCollection destinationCollection, int index)
Parameters
destinationCollection
The destination FieldCollection.
index
The destination index.