TableView
struct · ferroui-controls · v0.5.0
struct TableView
A read-only tabular control that presents items in configurable columns.
Members
TYPEto_refcolumns_propertycan_user_resize_columns_propertyconstructnewdisplay_member_bindingset_display_member_bindingitem_templateset_item_templatecolumnsset_columnscan_user_resize_columnsset_can_user_resize_columns
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<TableView>
Returns a strong reference to this object.
columns_property
fn columns_property() -> &'static DirectProperty<TableView, Option<FerroList<Ref<TableViewColumn>>>>
Defines the Columns property.
can_user_resize_columns_property
fn can_user_resize_columns_property() -> &'static StyledProperty<bool>
Defines the CanUserResizeColumns property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
display_member_binding
fn display_member_binding(self: &Self) -> Option<AssignedBinding>
The binding of the display member of the items control: it has no effect on a table view.
Deprecated. DisplayMemberBinding has no effect on a TableView. Use TableViewColumn.Binding instead.
set_display_member_binding
fn set_display_member_binding(self: &Self, value: Option<AssignedBinding>)
Deprecated. DisplayMemberBinding has no effect on a TableView. Use TableViewColumn.Binding instead.
item_template
fn item_template(self: &Self) -> Option<Rc<dyn IDataTemplate>>
The item template of the items control: it has no effect on a table view.
Deprecated. ItemTemplate has no effect on a TableView. Use TableViewColumn.CellTemplate instead.
set_item_template
fn set_item_template(self: &Self, value: Option<Rc<dyn IDataTemplate>>)
Deprecated. ItemTemplate has no effect on a TableView. Use TableViewColumn.CellTemplate instead.
columns
fn columns(self: &Self) -> FerroList<Ref<TableViewColumn>>
Gets or sets the collection of columns displayed by this
TableView. The collection is created when it is first read.
set_columns
fn set_columns(self: &Self, value: Option<FerroList<Ref<TableViewColumn>>>)
can_user_resize_columns
fn can_user_resize_columns(self: &Self) -> bool
Gets or sets a value indicating whether the user can resize columns by dragging the separator between column headers.
set_can_user_resize_columns
fn set_can_user_resize_columns(self: &Self, value: bool)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTemplatedControlImplExtSelectingItemsControlImplExtControlImplExtItemsControlImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<TableView>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleVisualImplLayoutableImplInteractiveImplInputElementImplControlImplTemplatedControlImplSelectingItemsControlImplFerroObjectImplStyledElementImplItemsControlImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.