FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TreeDataGridRowDragEventArgs

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct TreeDataGridRowDragEventArgs
    

    Provides data for the RowDragOver and RowDrop events of the grid (TreeDataGridRowDragEventArgs).

    View source

    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.

    Source

    inner

    fn inner(self: &Self) -> &DragEventArgs
    

    The arguments of the drag and drop operation.

    Source

    target_row

    fn target_row(self: &Self) -> Option<&Ref<TreeDataGridRow>>
    

    The row being dragged over.

    Source

    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.

    Source

    set_position

    fn set_position(self: &Self, value: TreeDataGridRowDropPosition)
    

    Sets position.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ToOwned
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • MarkupTyped
    • Clone
    • Deref
    • IRoutedEventArgs

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.