TextColumnOptions
struct · ferroui-controls-treedatagrid · v0.5.0
struct TextColumnOptions<M: 'static>
TextColumnOptions<TModel>.
Members
newis_text_search_enabledset_is_text_search_enabledstring_formatset_string_formatcultureset_culturetext_trimmingset_text_trimmingtext_wrappingset_text_wrappingtext_alignmentset_text_alignment
new
fn new() -> Self
is_text_search_enabled
fn is_text_search_enabled(self: &Self) -> bool
Whether the column takes part in text searches.
set_is_text_search_enabled
fn set_is_text_search_enabled(self: &Self, value: bool)
string_format
fn string_format(self: &Self) -> String
The format string of the cells of the column.
set_string_format
fn set_string_format(self: &Self, value: impl Into<String>)
culture
fn culture(self: &Self) -> CultureInfo
The culture used with the string format.
set_culture
fn set_culture(self: &Self, value: CultureInfo)
text_trimming
fn text_trimming(self: &Self) -> Rc<dyn TextTrimming>
The text trimming of the cells of the column.
set_text_trimming
fn set_text_trimming(self: &Self, value: Rc<dyn TextTrimming>)
text_wrapping
fn text_wrapping(self: &Self) -> TextWrapping
The text wrapping of the cells of the column.
set_text_wrapping
fn set_text_wrapping(self: &Self, value: TextWrapping)
text_alignment
fn text_alignment(self: &Self) -> TextAlignment
The text alignment of the cells of the column.
set_text_alignment
fn set_text_alignment(self: &Self, value: TextAlignment)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyClassDefaultsErasedDestructorIntoEitherDefaultDerefIColumnOptions<M>ICellOptionsITextCellOptionsITextCellCultureOptions
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.