Class IndicatingInsertionLocationEventArgs<TItemsControlType>
Information about the IndicatingInsertionLocation event.
Inheritance
System.Object
System.EventArgs
IndicatingInsertionLocationEventArgs<TItemsControlType>
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls
Assembly: OpenSilver.Controls.Toolkit.dll
Syntax
public sealed class IndicatingInsertionLocationEventArgs<TItemsControlType> : ExtendedRoutedEventArgs
Type Parameters
| Name | Description |
|---|---|
| TItemsControlType | The type of the control that contains the items that can be dragged. |
Properties
| Improve this Doc View SourceDropTarget
Gets the drop target.
Declaration
public TItemsControlType DropTarget { get; }
Property Value
| Type | Description |
|---|---|
| TItemsControlType |
InsertionIndex
Gets the insertion index.
Declaration
public int? InsertionIndex { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
InsertionIndicatorGeometry
Gets or sets the geometry to use to indicate the insertion point.
Declaration
public Geometry InsertionIndicatorGeometry { get; set; }
Property Value
| Type | Description |
|---|---|
| Geometry |
Methods
| Improve this Doc View SourceGetPosition(UIElement)
Returns a drop point that is relative to a specified System.Windows.UIElement.
Declaration
public Point GetPosition(UIElement relativeTo)
Parameters
| Type | Name | Description |
|---|---|---|
| UIElement | relativeTo | A UIElement object for which to get a relative drop point. |
Returns
| Type | Description |
|---|---|
| Point | A drop point that is relative to the element specified in relativeTo. |