FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DefinitionBase

    struct · ferroui-controls · v0.5.0

    struct DefinitionBase
    

    Provides the core functionality used internally by Grid and the column and row definition collections.

    This class is abstract: only its subclasses crate::ColumnDefinition and crate::RowDefinition can be created.

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

    Returns a strong reference to this object.

    Source

    shared_size_group_property

    fn shared_size_group_property() -> &'static AttachedProperty<Option<String>>
    

    Defines the SharedSizeGroup property, which marks a column / row definition as belonging to a group "Foo" or "Bar".

    The value must satisfy the following rules:

    • the string must not be empty;
    • the string must consist of letters, digits and underscore ('_') only;
    • the string must not start with a digit.

    Source

    shared_size_group

    fn shared_size_group(self: &Self) -> Option<String>
    

    The shared size group of the definition.

    Source

    set_shared_size_group

    fn set_shared_size_group(self: &Self, value: Option<&str>)
    

    Source

    Trait implementations

    Availability

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