FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RowDefinition

    struct · ferroui-controls · v0.5.0

    struct RowDefinition
    

    Holds a row definition for a Grid.

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

    Returns a strong reference to this object.

    Source

    max_height_property

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

    Defines the MaxHeight property.

    Source

    min_height_property

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

    Defines the MinHeight property.

    Source

    height_property

    fn height_property() -> &'static StyledProperty<GridLength>
    

    Defines the Height property.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a row definition.

    Source

    with_value

    fn with_value(value: f64, type_: GridUnitType) -> Ref<Self>
    

    Creates a row definition with the given height value and unit.

    Source

    with_height

    fn with_height(height: GridLength) -> Ref<Self>
    

    Creates a row definition with the given height.

    Source

    actual_height

    fn actual_height(self: &Self) -> f64
    

    The actual calculated height of the row.

    Source

    max_height

    fn max_height(self: &Self) -> f64
    

    The maximum height of the row in DIPs.

    Source

    set_max_height

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

    Source

    min_height

    fn min_height(self: &Self) -> f64
    

    The minimum height of the row in DIPs.

    Source

    set_min_height

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

    Source

    height

    fn height(self: &Self) -> GridLength
    

    The height of the row.

    Source

    set_height

    fn set_height(self: &Self, value: GridLength)
    

    Source

    Trait implementations

    Availability

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