FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TreeDataGridColumnHeader

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct TreeDataGridColumnHeader
    

    The header of a column of a TreeDataGrid.

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

    Returns a strong reference to this object.

    Source

    can_user_resize_property

    fn can_user_resize_property() -> &'static DirectProperty<TreeDataGridColumnHeader, bool>
    

    Defines the CanUserResize property.

    Source

    header_property

    fn header_property() -> &'static DirectProperty<TreeDataGridColumnHeader, Option<BoxedValue>>
    

    Defines the Header property.

    Source

    sort_direction_property

    fn sort_direction_property() -> &'static DirectProperty<TreeDataGridColumnHeader, Option<ListSortDirection>>
    

    Defines the SortDirection property.

    Source

    PSEUDO_CLASSES

    const PSEUDO_CLASSES: PseudoClassesAttribute
    

    The pseudoclasses set by the class.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    can_user_resize

    fn can_user_resize(self: &Self) -> bool
    

    Whether the user can resize the column.

    Source

    column_index

    fn column_index(self: &Self) -> i32
    

    The index of the column.

    Source

    header

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

    The header of the column.

    Source

    sort_direction

    fn sort_direction(self: &Self) -> Option<ListSortDirection>
    

    The sort direction of the column, if it is sorted.

    Source

    model

    fn model(self: &Self) -> Option<ColumnRef>
    

    The column the header is realized for.

    Source

    realize

    fn realize(self: &Self, columns: &Rc<dyn IColumns>, column_index: i32)
    

    Realizes the header for the column at column_index of columns.

    Source

    update_column_index

    fn update_column_index(self: &Self, column_index: i32)
    

    The index of the column changed.

    Source

    unrealize

    fn unrealize(self: &Self)
    

    Unrealizes the header.

    Source

    Trait implementations

    Availability

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