FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ItemNudgeDropBehavior

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct ItemNudgeDropBehavior
    

    Moves the containers of the associated ItemsControl aside while an item is dragged over it: the containers after the drag position are translated by their size along the orientation, to show where the item drops. The translations are removed when the drag leaves or drops.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<ItemNudgeDropBehavior>
    

    Returns a strong reference to this object.

    Source

    orientation_property

    fn orientation_property() -> &'static StyledProperty<Orientation>
    

    Identifies the Orientation property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a behavior.

    Source

    orientation

    fn orientation(self: &Self) -> Orientation
    

    Gets or sets the orientation along which the containers move aside.

    Source

    set_orientation

    fn set_orientation(self: &Self, value: Orientation)
    

    Source

    Trait implementations

    Availability

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