FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ColumnOptions

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct ColumnOptions<M: 'static>
    

    ColumnOptions<TModel>.

    View source

    Members

    new

    fn new() -> Self
    

    Source

    can_user_resize_column

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

    Whether the user can resize the column by dragging; None: the control's CanUserResizeColumns applies.

    Source

    set_can_user_resize_column

    fn set_can_user_resize_column(self: &Self, value: Option<bool>)
    

    Source

    can_user_sort_column

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

    Whether the user can sort the column by clicking; None: the control's CanUserSortColumns applies.

    Source

    set_can_user_sort_column

    fn set_can_user_sort_column(self: &Self, value: Option<bool>)
    

    Source

    min_width

    fn min_width(self: &Self) -> GridLength
    

    The minimum width of the column.

    Source

    set_min_width

    fn set_min_width(self: &Self, value: GridLength)
    

    Source

    max_width

    fn max_width(self: &Self) -> Option<GridLength>
    

    The maximum width of the column.

    Source

    set_max_width

    fn set_max_width(self: &Self, value: Option<GridLength>)
    

    Source

    compare_ascending

    fn compare_ascending(self: &Self) -> Option<Comparison<M>>
    

    A custom comparison for the ascending order.

    Source

    set_compare_ascending

    fn set_compare_ascending(self: &Self, value: Option<Comparison<M>>)
    

    Source

    compare_descending

    fn compare_descending(self: &Self) -> Option<Comparison<M>>
    

    A custom comparison for the descending order.

    Source

    set_compare_descending

    fn set_compare_descending(self: &Self, value: Option<Comparison<M>>)
    

    Source

    begin_edit_gestures

    fn begin_edit_gestures(self: &Self) -> BeginEditGestures
    

    The gestures that make a cell enter edit mode.

    Source

    set_begin_edit_gestures

    fn set_begin_edit_gestures(self: &Self, value: BeginEditGestures)
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Default
    • Clone
    • IColumnOptions<M>
    • ICellOptions

    Availability

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