TreeDataGridRowDragEventArgs
struct · ferroui-controls-treedatagrid · v0.5.0
struct TreeDataGridRowDragEventArgs
Provides data for the RowDragOver and RowDrop events of the grid (TreeDataGridRowDragEventArgs).
Members
new
fn new(routed_event: &RoutedEvent<TreeDataGridRowDragEventArgs>, row: Option<Ref<TreeDataGridRow>>, inner: DragEventArgs) -> Self
The arguments of routed_event for a drag over row, described by inner.
inner
fn inner(self: &Self) -> &DragEventArgs
The arguments of the drag and drop operation.
target_row
fn target_row(self: &Self) -> Option<&Ref<TreeDataGridRow>>
The row being dragged over.
position
fn position(self: &Self) -> TreeDataGridRowDropPosition
How the data should be dropped into the target row.
For drag operations, the value of this property controls the adorner displayed when dragging. For drop operations, controls the final location of the drop.
set_position
fn set_position(self: &Self, value: TreeDataGridRowDropPosition)
Sets position.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedClassDefaultsErasedDestructorIntoEitherMarkupTypedCloneDerefIRoutedEventArgs
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.