FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ContextMenuProps

    trait · ferroui-view · v0.5.0

    trait ContextMenuProps: ElementBuilder
    

    The properties and routed events of ContextMenu.

    View source

    Members

    horizontal_offset

    fn horizontal_offset<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets ContextMenu::horizontal_offset_property.

    Source

    vertical_offset

    fn vertical_offset<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets ContextMenu::vertical_offset_property.

    Source

    placement_anchor

    fn placement_anchor<M>(self: Self, value: impl IntoProp<ferroui_controls::primitives::popup_positioning::PopupAnchor, M>) -> Self
    

    Sets ContextMenu::placement_anchor_property.

    Source

    placement_constraint_adjustment

    fn placement_constraint_adjustment<M>(self: Self, value: impl IntoProp<ferroui_controls::primitives::popup_positioning::PopupPositionerConstraintAdjustment, M>) -> Self
    

    Sets ContextMenu::placement_constraint_adjustment_property.

    Source

    placement_gravity

    fn placement_gravity<M>(self: Self, value: impl IntoProp<ferroui_controls::primitives::popup_positioning::PopupGravity, M>) -> Self
    

    Sets ContextMenu::placement_gravity_property.

    Source

    placement

    fn placement<M>(self: Self, value: impl IntoProp<ferroui_controls::PlacementMode, M>) -> Self
    

    Sets ContextMenu::placement_property.

    Source

    placement_rect

    fn placement_rect<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Rect>, M>) -> Self
    

    Sets ContextMenu::placement_rect_property.

    Source

    window_manager_add_shadow_hint

    fn window_manager_add_shadow_hint<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets ContextMenu::window_manager_add_shadow_hint_property.

    Source

    custom_popup_placement_callback

    fn custom_popup_placement_callback<M>(self: Self, value: impl IntoProp<Option<ferroui_controls::primitives::CustomPopupPlacementCallbackValue>, M>) -> Self
    

    Sets ContextMenu::custom_popup_placement_callback_property.

    Source

    Trait implementations

    Availability

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