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.
Members
actual_widthcan_user_resizeheaderwidthsort_directionset_sort_directiontagset_tagas_anyas_update_column_layoutas_cell_columnrequires_unconstrained_width_measurementcore_column
actual_width
fn actual_width(self: &Self) -> f64
The width the column is laid out at.
can_user_resize
fn can_user_resize(self: &Self) -> Option<bool>
header
fn header(self: &Self) -> Option<BoxedValue>
width
fn width(self: &Self) -> GridLength
sort_direction
fn sort_direction(self: &Self) -> Option<ListSortDirection>
set_sort_direction
fn set_sort_direction(self: &Self, value: Option<ListSortDirection>)
tag
fn tag(self: &Self) -> Option<BoxedValue>
set_tag
fn set_tag(self: &Self, value: Option<BoxedValue>)
as_any
fn as_any(self: &Self) -> &dyn Any
as_update_column_layout
fn as_update_column_layout(self: &Self) -> Option<&dyn IUpdateColumnLayout>
The column's layout (is IUpdateColumnLayout).
as_cell_column
fn as_cell_column(self: &Self) -> Option<&dyn ICellColumn>
The column as a column that creates cells (IColumn<TModel>, erased).
requires_unconstrained_width_measurement
fn requires_unconstrained_width_measurement(self: &Self) -> bool
Whether the column must be measured with an unconstrained width (IColumnMeasurementOptions).
core_column
fn core_column(self: &Self) -> Option<Rc<dyn ferroui_treedatagrid_core::models::IColumn>>
The core column the view column presents, if any.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.