FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IColumn

    trait · ferroui-controls-treedatagrid · v0.5.0

    trait IColumn: INotifyPropertyChanged + Any
    

    A view column (IColumn of the control): what the column headers and the layout read.

    View source

    Members

    actual_width

    fn actual_width(self: &Self) -> f64
    

    The width the column is laid out at.

    Source

    can_user_resize

    fn can_user_resize(self: &Self) -> Option<bool>
    

    Source

    header

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

    Source

    width

    fn width(self: &Self) -> GridLength
    

    Source

    sort_direction

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

    Source

    set_sort_direction

    fn set_sort_direction(self: &Self, value: Option<ListSortDirection>)
    

    Source

    tag

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

    Source

    set_tag

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

    Source

    as_any

    fn as_any(self: &Self) -> &dyn Any
    

    Source

    as_update_column_layout

    fn as_update_column_layout(self: &Self) -> Option<&dyn IUpdateColumnLayout>
    

    The column's layout (is IUpdateColumnLayout).

    Source

    as_cell_column

    fn as_cell_column(self: &Self) -> Option<&dyn ICellColumn>
    

    The column as a column that creates cells (IColumn<TModel>, erased).

    Source

    requires_unconstrained_width_measurement

    fn requires_unconstrained_width_measurement(self: &Self) -> bool
    

    Whether the column must be measured with an unconstrained width (IColumnMeasurementOptions).

    Source

    core_column

    fn core_column(self: &Self) -> Option<Rc<dyn ferroui_treedatagrid_core::models::IColumn>>
    

    The core column the view column presents, if any.

    Source

    Trait implementations

    Availability

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