FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    LayoutPanel

    struct · ferroui-controls-repeater · v0.5.0

    struct LayoutPanel
    

    Hosts explicit children using a shareable Layout, including virtualizing layouts adapted to a fixed collection. Border and padding inset the layout.

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

    Returns a strong reference to this object.

    Source

    layout_property

    fn layout_property() -> &'static StyledProperty<Option<Ref<Layout>>>
    

    Source

    border_brush_property

    fn border_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
    

    Source

    border_thickness_property

    fn border_thickness_property() -> &'static StyledProperty<Thickness>
    

    Source

    corner_radius_property

    fn corner_radius_property() -> &'static StyledProperty<CornerRadius>
    

    Source

    padding_property

    fn padding_property() -> &'static StyledProperty<Thickness>
    

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    layout

    fn layout(self: &Self) -> Option<Ref<Layout>>
    

    Source

    set_layout

    fn set_layout(self: &Self, value: Option<Ref<Layout>>)
    

    Source

    border_brush

    fn border_brush(self: &Self) -> Option<Rc<dyn IBrush>>
    

    Source

    set_border_brush

    fn set_border_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
    

    Source

    border_thickness

    fn border_thickness(self: &Self) -> Thickness
    

    Source

    set_border_thickness

    fn set_border_thickness(self: &Self, value: Thickness)
    

    Source

    corner_radius

    fn corner_radius(self: &Self) -> CornerRadius
    

    Source

    set_corner_radius

    fn set_corner_radius(self: &Self, value: CornerRadius)
    

    Source

    padding

    fn padding(self: &Self) -> Thickness
    

    Source

    set_padding

    fn set_padding(self: &Self, value: Thickness)
    

    Source

    layout_state

    fn layout_state(self: &Self) -> Option<BoxedValue>
    

    Source

    set_layout_state

    fn set_layout_state(self: &Self, value: Option<BoxedValue>)
    

    Source

    layout_context

    fn layout_context(self: &Self) -> Ref<LayoutContext>
    

    Source

    Trait implementations

    Availability

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