FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ColumnDefinition

    struct · ferroui-diagnostics · v0.5.0

    struct ColumnDefinition
    

    The attached IsVisible property of a column definition of a grid: a hidden column has a width of zero, and gets back the width it had when it is shown again.

    See the discussion 6773 of the upstream project.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this type.

    Source

    is_visible_property

    fn is_visible_property() -> &'static AttachedProperty<bool>
    

    Defines the IsVisible attached property: whether the column is shown.

    Source

    get_is_visible

    fn get_is_visible(column_definition: &ferroui_controls::ColumnDefinition) -> bool
    

    Gets the value of the attached is_visible_property.

    Source

    set_is_visible

    fn set_is_visible(column_definition: &ferroui_controls::ColumnDefinition, visibility: bool)
    

    Sets the value of the attached is_visible_property.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • StaticType

    Availability

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