FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TableView

    struct · ferroui-controls · v0.5.0

    struct TableView
    

    A read-only tabular control that presents items in configurable columns.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<TableView>
    

    Returns a strong reference to this object.

    Source

    columns_property

    fn columns_property() -> &'static DirectProperty<TableView, Option<FerroList<Ref<TableViewColumn>>>>
    

    Defines the Columns property.

    Source

    can_user_resize_columns_property

    fn can_user_resize_columns_property() -> &'static StyledProperty<bool>
    

    Defines the CanUserResizeColumns property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    set_columns

    fn set_columns(self: &Self, value: Option<FerroList<Ref<TableViewColumn>>>)
    

    Source

    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.

    Source

    set_can_user_resize_columns

    fn set_can_user_resize_columns(self: &Self, value: bool)
    

    Source

    Trait implementations

    Availability

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