Skip to end of metadata
Go to start of metadata

Provides base class for dragable items control.

Definition

public abstract class ISDragableItemsControl : ISItemsControl, IDropable

Summary

The following table summarizes the members exposed in this class.

Protected Constructors

Public Properties

AllowDropItem Gets or sets a value that determines whether external item can be dropped to the panel.
AllowMoveItem Gets or sets a value that determines whether the items can be moved.
AllowRemoveItem Gets or sets a value that determines whether the items can be removed.
AllowReorderItem Gets or sets a value that determines whether external item can be dropped to the panel.
DragDropTooltipIcon Gets or sets the icon of the DragDropTooltip.
DragDropTooltipLatency Gets or sets a value that determines the latency to show the DragDropTooltip.
DragDropTooltipOffset Gets or sets the offset position of the DragDropTooltip.
DragDropTooltipStyle Gets or sets the style of the DragDropTooltip.
DragDropTooltipText Gets or sets the text of the DragDropTooltip.
DragMode Gets or sets the dragging behavior.
DropableTargets Gets the collection of dropable target names.
DropItems Gets or sets collection of drop item during drop event.
Latency Gets or sets a value that determine the latency before the item collection is re-adjusted when an item is inserted, moved or removed.

Fields

AllowDropItemProperty Identifies the AllowDropItem dependency property.
AllowMoveItemProperty Identifies the AllowMoveItem dependency property.
AllowRemoveItemProperty Identifies the AllowRemoveItem dependency property.
AllowReorderItemProperty Identifies the AllowReorderItem dependency property.
DragDropTooltipIconProperty Identifies the DragDropTooltipIcon dependency property.
DragDropTooltipLatencyProperty Identifies the DragDropTooltipLatency dependency property.
DragDropTooltipOffsetProperty Identifies the DragDropTooltipOffset dependency property.
DragDropTooltipStyleProperty Identifies the DragDropTooltipText dependency property.
DragDropTooltipTextProperty Identifies the DragDropTooltipText dependency property.
DragModeProperty Identifies the DragMode dependency property.
DropableTargetsProperty Identifies the DropableTargets dependency property.
DropItemsProperty Identifies the DropItems dependency property.
LatencyProperty Identifies the Latency dependency property.

Public Methods

GetDropableObject() Gets the dropable object.
IsDropable() Gets a value that indicates wheter the current panel is dropable.

Protected Methods

ArrangeOverride(Size) Provides the behavior for the Arrange pass of Silverlight layout.
ClearContainerForItemOverride(DependencyObject, object)
Init() Control initialization.
Panel_DragEnd(object, DragEventArgs) Occurs at origin panel, when drag is end.
Panel_DragEnded(object, DragEventArgs) Occurs at origin panel, when drag is ended (after drag drop).
Panel_DragEnter(object, DragEventArgs) Occurs when an item is entering this panel.
Panel_DragInit(object, DragEventArgs) Occurs at origin panel, when drag is initializing.
Panel_DragLeave(object, DragEventArgs) Occurs when an item is leaving this panel.
Panel_DragOver(object, DragEventArgs) Occurs when an item is hovering this panel (after drag enter).
Panel_DragReturn(object, DragEventArgs) Occurs at origin panel, when drag object is returning.
Panel_DragReturned(object, DragEventArgs) Occurs at origin panel and target panel, when drag object is returned.
Panel_DragStart(object, DragEventArgs) Occurs when an item is about to be dragged.
Panel_DragStarted(object, DragEventArgs) Occurs when an item is dragged.
Panel_Drop(object, DragEventArgs) Occurs when an item is dropped into this panel.
Panel_Inserted(object, UXPanelActionEventArgs) Occurs when an item is inserted to the panel.
Panel_Inserting(object, UXPanelActionEventArgs) Occurss when an item is being inserted to the panel.
Panel_Moved(object, UXPanelActionEventArgs) Occurs when an item is moved inside panel.
Panel_Moving(object, UXPanelActionEventArgs) Occurs when an item is being moved inside panel.
Panel_PrepareDrop(object, DragEventArgs) Occurs before drop event.
Panel_PreviewDragEnter(object, DragEventArgs) Occurs when previewing drag enter
Panel_PreviewDragLeave(object, DragEventArgs) Occurs when an item is about to leaving the panel (preview).
Panel_PreviewDragOver(object, DragEventArgs) Occurs when an item is about to hovering the panel (preview).
Panel_PreviewDrop(object, DragEventArgs) Occurs when an item is about to be dropped in to the panel (preview).
Panel_Removed(object, UXPanelActionEventArgs) Occurs when an item is removed from panel.
Panel_Removing(object, UXPanelActionEventArgs) Occurs when a item is being removed from panel.
Panel_ShadowCreated(object, DragDropShadowEventArgs) Occurs when a shadow object is created.
Panel_ShadowInit(object, DragDropShadowEventArgs) Occurs when shadow object is initializing.
PrepareContainerForItemOverride(DependencyObject, object)

Events

DragEnd Occurs when drag end.
DragEnded Occurs when drag is ended.
DragEnter Occurs when drag drop is entering drop target.
DragInit Occurs when drag is initializing.
DragLeave Occurs when drag is leaving drop target.
DragOver Occurs when drag drop is hovering drop target.
DragReturn Occurs when drag object is returning to original position.
DragReturned Occurs when drag object is returned to original position.
DragStart Occurs when drag start.
DragStarted Occurs when drag started.
Drop Occurs when drag drop.
DropObjectChanged Occurs when drop object is changed.
Inserted Occurs when an item is being inserted.
Inserting Occurs when an item is going to be inserted.
Moved Occurs when an item is being moved.
Moving Occurs when an item is going to be moved.
NativeDragEnter Occurs when native drag enter event triggered.
NativeDragLeave Occurs when native drag leave event triggered.
NativeDragOver Occurs when native drag over event triggered.
NativeDrop Occurs when native drop event triggered.
PreviewDragEnter Occurs when previewing drag enter.
PreviewDragLeave Occurs when previewing drag enter.
PreviewDragOver Occurs when previewing drag over.
PreviewDrop Occurs when previewing drop.
PreviewQueryDropState Occurs when previewing query drop state.
QueryDropState Occurs when querying drop state.
Removed Occurs when an item is being removed.
Removing Occurs when an item is going to be removed.
ShadowCreated Occurs when shadow is created.
ShadowInit Occurs when shadow is initializing.

Protected Constructors

protected ISDragableItemsControl()

Public Properties

public bool AllowDropItem { get; set; }

Gets or sets a value that determines whether external item can be dropped to the panel.

public bool AllowMoveItem { get; set; }

Gets or sets a value that determines whether the items can be moved.

public bool AllowRemoveItem { get; set; }

Gets or sets a value that determines whether the items can be removed.

public bool AllowReorderItem { get; set; }

Gets or sets a value that determines whether external item can be dropped to the panel.

public ImageSource DragDropTooltipIcon { get; set; }

Gets or sets the icon of the DragDropTooltip.

public double DragDropTooltipLatency { get; set; }

Gets or sets a value that determines the latency to show the DragDropTooltip.

public Point DragDropTooltipOffset { get; set; }

Gets or sets the offset position of the DragDropTooltip.

public Style DragDropTooltipStyle { get; set; }

Gets or sets the style of the DragDropTooltip.

public string DragDropTooltipText { get; set; }

Gets or sets the text of the DragDropTooltip.

public DragMode DragMode { get; set; }

Gets or sets the dragging behavior.

public ObservableCollection<string> DropableTargets { get; }

Gets the collection of dropable target names.

public ObservableCollection<object> DropItems { get; set; }

Gets or sets collection of drop item during drop event.

public double Latency { get; set; }

Gets or sets a value that determine the latency before the item collection is re-adjusted when an item is inserted, moved or removed.

Fields

public static readonly DependencyProperty AllowDropItemProperty

Identifies the AllowDropItem dependency property.

public static readonly DependencyProperty AllowMoveItemProperty

Identifies the AllowMoveItem dependency property.

public static readonly DependencyProperty AllowRemoveItemProperty

Identifies the AllowRemoveItem dependency property.

public static readonly DependencyProperty AllowReorderItemProperty

Identifies the AllowReorderItem dependency property.

public static readonly DependencyProperty DragDropTooltipIconProperty

Identifies the DragDropTooltipIcon dependency property.

public static readonly DependencyProperty DragDropTooltipLatencyProperty

Identifies the DragDropTooltipLatency dependency property.

public static readonly DependencyProperty DragDropTooltipOffsetProperty

Identifies the DragDropTooltipOffset dependency property.

public static readonly DependencyProperty DragDropTooltipStyleProperty

Identifies the DragDropTooltipText dependency property.

public static readonly DependencyProperty DragDropTooltipTextProperty

Identifies the DragDropTooltipText dependency property.

public static readonly DependencyProperty DragModeProperty

Identifies the DragMode dependency property.

public static readonly DependencyProperty DropableTargetsProperty

Identifies the DropableTargets dependency property.

public static readonly DependencyProperty DropItemsProperty

Identifies the DropItems dependency property.

public static readonly DependencyProperty LatencyProperty

Identifies the Latency dependency property.

Public Methods

public DependencyObject GetDropableObject()

Gets the dropable object.

Return Types

Dropable object.

public bool IsDropable()

Gets a value that indicates wheter the current panel is dropable.

Return Types

A value that indicates wheter the current panel is dropable.

Protected Methods

protected Size ArrangeOverride(Size finalSize)

Provides the behavior for the Arrange pass of Silverlight layout.

Parameters

finalSize The final area within the parent that this object should use to arrange itself and its children.

Return Types

The actual size used once the element is arranged.

protected void ClearContainerForItemOverride(DependencyObject element, object item)

Parameters

element
item

protected void Init()

Control initialization.

protected void Panel_DragEnd(object sender, DragEventArgs e)

Occurs at origin panel, when drag is end.

Parameters

sender
e

protected void Panel_DragEnded(object sender, DragEventArgs e)

Occurs at origin panel, when drag is ended (after drag drop).

Parameters

sender
e

protected void Panel_DragEnter(object sender, DragEventArgs e)

Occurs when an item is entering this panel.

Parameters

sender
e

protected void Panel_DragInit(object sender, DragEventArgs e)

Occurs at origin panel, when drag is initializing.

Parameters

sender
e

protected void Panel_DragLeave(object sender, DragEventArgs e)

Occurs when an item is leaving this panel.

Parameters

sender
e

protected void Panel_DragOver(object sender, DragEventArgs e)

Occurs when an item is hovering this panel (after drag enter).

Parameters

sender
e

protected void Panel_DragReturn(object sender, DragEventArgs e)

Occurs at origin panel, when drag object is returning.

Parameters

sender
e

protected void Panel_DragReturned(object sender, DragEventArgs e)

Occurs at origin panel and target panel, when drag object is returned.

Parameters

sender
e

protected void Panel_DragStart(object sender, DragEventArgs e)

Occurs when an item is about to be dragged.

Parameters

sender
e

protected void Panel_DragStarted(object sender, DragEventArgs e)

Occurs when an item is dragged.

Parameters

sender
e

protected void Panel_Drop(object sender, DragEventArgs e)

Occurs when an item is dropped into this panel.

Parameters

sender
e

protected void Panel_Inserted(object sender, UXPanelActionEventArgs e)

Occurs when an item is inserted to the panel.

Parameters

sender
e

protected void Panel_Inserting(object sender, UXPanelActionEventArgs e)

Occurss when an item is being inserted to the panel.

Parameters

sender
e

protected void Panel_Moved(object sender, UXPanelActionEventArgs e)

Occurs when an item is moved inside panel.

Parameters

sender
e

protected void Panel_Moving(object sender, UXPanelActionEventArgs e)

Occurs when an item is being moved inside panel.

Parameters

sender
e

protected void Panel_PrepareDrop(object sender, DragEventArgs e)

Occurs before drop event.

Parameters

sender
e

protected void Panel_PreviewDragEnter(object sender, DragEventArgs e)

Occurs when previewing drag enter

Parameters

sender
e

protected void Panel_PreviewDragLeave(object sender, DragEventArgs e)

Occurs when an item is about to leaving the panel (preview).

Parameters

sender
e

protected void Panel_PreviewDragOver(object sender, DragEventArgs e)

Occurs when an item is about to hovering the panel (preview).

Parameters

sender
e

protected void Panel_PreviewDrop(object sender, DragEventArgs e)

Occurs when an item is about to be dropped in to the panel (preview).

Parameters

sender
e

protected void Panel_Removed(object sender, UXPanelActionEventArgs e)

Occurs when an item is removed from panel.

Parameters

sender
e

protected void Panel_Removing(object sender, UXPanelActionEventArgs e)

Occurs when a item is being removed from panel.

Parameters

sender
e

protected void Panel_ShadowCreated(object sender, DragDropShadowEventArgs e)

Occurs when a shadow object is created.

Parameters

sender
e

protected void Panel_ShadowInit(object sender, DragDropShadowEventArgs e)

Occurs when shadow object is initializing.

Parameters

sender
e

protected void PrepareContainerForItemOverride(DependencyObject element, object item)

Parameters

element
item

Events

public event DragEventHandler DragEnd

Occurs when drag end.

public event DragEventHandler DragEnded

Occurs when drag is ended.

public event DragEventHandler DragEnter

Occurs when drag drop is entering drop target.

public event DragEventHandler DragInit

Occurs when drag is initializing.

public event DragEventHandler DragLeave

Occurs when drag is leaving drop target.

public event DragEventHandler DragOver

Occurs when drag drop is hovering drop target.

public event DragEventHandler DragReturn

Occurs when drag object is returning to original position.

public event DragEventHandler DragReturned

Occurs when drag object is returned to original position.

public event DragEventHandler DragStart

Occurs when drag start.

public event DragEventHandler DragStarted

Occurs when drag started.

public event DragEventHandler Drop

Occurs when drag drop.

public event DropObjectChangedRoutedEventHandler DropObjectChanged

Occurs when drop object is changed.

public event UXPanelActionRoutedEventHandler Inserted

Occurs when an item is being inserted.

public event UXPanelActionRoutedEventHandler Inserting

Occurs when an item is going to be inserted.

public event UXPanelActionRoutedEventHandler Moved

Occurs when an item is being moved.

public event UXPanelActionRoutedEventHandler Moving

Occurs when an item is going to be moved.

public event DragEventHandler NativeDragEnter

Occurs when native drag enter event triggered.

public event DragEventHandler NativeDragLeave

Occurs when native drag leave event triggered.

public event DragEventHandler NativeDragOver

Occurs when native drag over event triggered.

public event DragEventHandler NativeDrop

Occurs when native drop event triggered.

public event DragEventHandler PreviewDragEnter

Occurs when previewing drag enter.

public event DragEventHandler PreviewDragLeave

Occurs when previewing drag enter.

public event DragEventHandler PreviewDragOver

Occurs when previewing drag over.

public event DragEventHandler PreviewDrop

Occurs when previewing drop.

public event QueryDropStateEventHandler PreviewQueryDropState

Occurs when previewing query drop state.

public event QueryDropStateEventHandler QueryDropState

Occurs when querying drop state.

public event UXPanelActionRoutedEventHandler Removed

Occurs when an item is being removed.

public event UXPanelActionRoutedEventHandler Removing

Occurs when an item is going to be removed.

public event DragDropShadowRoutedEventHandler ShadowCreated

Occurs when shadow is created.

public event DragDropShadowRoutedEventHandler ShadowInit

Occurs when shadow is initializing.

  • No labels