FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DockPanel

    struct · ferroui-controls · v0.5.0

    struct DockPanel
    

    A panel which arranges its children at the top, bottom, left, right or center.

    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<DockPanel>
    

    Returns a strong reference to this object.

    Source

    dock_property

    fn dock_property() -> &'static AttachedProperty<Dock>
    

    Defines the Dock attached property.

    Source

    last_child_fill_property

    fn last_child_fill_property() -> &'static StyledProperty<bool>
    

    Defines the LastChildFill property.

    Source

    horizontal_spacing_property

    fn horizontal_spacing_property() -> &'static StyledProperty<f64>
    

    Defines the HorizontalSpacing property.

    Source

    vertical_spacing_property

    fn vertical_spacing_property() -> &'static StyledProperty<f64>
    

    Defines the VerticalSpacing property.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    get_dock

    fn get_dock(control: &Control) -> Dock
    

    Gets the value of the Dock attached property on the specified control.

    Source

    set_dock

    fn set_dock(control: &Control, value: Dock)
    

    Sets the value of the Dock attached property on the specified control.

    Source

    last_child_fill

    fn last_child_fill(self: &Self) -> bool
    

    Whether the last child of the panel fills the remaining space in the panel.

    Source

    set_last_child_fill

    fn set_last_child_fill(self: &Self, value: bool)
    

    Source

    horizontal_spacing

    fn horizontal_spacing(self: &Self) -> f64
    

    The horizontal distance between the child objects.

    Source

    set_horizontal_spacing

    fn set_horizontal_spacing(self: &Self, value: f64)
    

    Source

    vertical_spacing

    fn vertical_spacing(self: &Self) -> f64
    

    The vertical distance between the child objects.

    Source

    set_vertical_spacing

    fn set_vertical_spacing(self: &Self, value: f64)
    

    Source

    Trait implementations

    Availability

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