Skip to main content

Crate ferroui_controls_treedatagrid

Crate ferroui_controls_treedatagrid 

Source
Expand description

ferroui-controls-treedatagrid

The TreeDataGrid control, ported from the control project of TreeDataGrid (https://github.com/wieslawsoltes/TreeDataGrid): hierarchical and tabular data in one virtualizing view, with column layout, sorting, row and cell selection, editing, drag and drop and automation. The data layer is ferroui-treedatagrid-core (sources, columns, rows and selection), which the control presents (docs/porting/treedatagrid.md).

The control themes are not part of the base themes: an application includes the styles of the library, as the reference’s applications do:

<StyleInclude Source="ferres://FerroUI.Controls.TreeDataGrid/Themes/Fluent.xaml" />

Re-exports§

pub use ferroui_treedatagrid_core as core;

Modules§

automation
Automation/: the automation peers of the grid and its parts (namespace FerroUI.Controls.Automation.Peers).
converters
Converters/: the value converters of the control themes.
models
Models/TreeDataGrid/: the view models of the control: the view columns (text, check box, template, expander and the columns of declarative markup), their layout (ColumnListBase, ColumnList) and the cells they create (text, check box, template and expander cells).
presentation
Presentation/: the presentation of a core source to the control: the view columns of the source’s columns, the rows that realize the cells, the selection interaction and sorting.
primitives
Primitives/: the virtualizing presenters of the rows, cells and column headers, the row, the cells, the column header and the element factory that creates and recycles them.
selection
Selection/: how the selections of the core handle the input of the control.

Structs§

CheckBoxColumnCreateOptions
The options of a check box column created by the helpers (CheckBoxColumnCreateOptions<TModel>).
ColumnCreateOptions
The options of a column created by the helpers (ColumnCreateOptions<TModel>).
HierarchicalExpanderColumnCreateOptions
The options of a hierarchical expander column created by the helpers (HierarchicalExpanderColumnCreateOptions<TModel>).
ItemsSourceModels
The items of an ItemsSource as the models of a generated source (GetSourceItems): the non-null items, each boxed once so that a model keeps its identity, following the changes of a notifying list.
TemplateColumnCreateOptions
The options of a template column created by the helpers (TemplateColumnCreateOptions<TModel>).
TextColumnCreateOptions
The options of a text column created by the helpers (TextColumnCreateOptions<TModel>).
TreeDataGrid
Displays hierarchical and tabular data together in a single view (TreeDataGrid).
TreeDataGridBindingAccessor
The accessor of the value a binding selects from a model (TreeDataGridBindingAccessor).
TreeDataGridBindingProbe
A styled element with a two-way Value property (TreeDataGridBindingProbe).
TreeDataGridCellEventArgs
Provides data for the cell events of the grid (TreeDataGridCellEventArgs).
TreeDataGridCheckBoxColumn
A check box column (TreeDataGridCheckBoxColumn): the boolean its binding selects.
TreeDataGridColumnBase
The members every declarative column has (TreeDataGridColumn).
TreeDataGridColumns
The declarative columns of a grid (TreeDataGridColumns, a list of TreeDataGridColumns).
TreeDataGridDiagnostics
Provides diagnostic settings for the grid (static class TreeDataGridDiagnostics).
TreeDataGridHierarchicalExpanderColumn
A hierarchical expander column (TreeDataGridHierarchicalExpanderColumn): its inner column with an expander whose children, whether there are any and whether the row is expanded are selected by bindings. Its presence makes the generated source hierarchical.
TreeDataGridRowDragEventArgs
Provides data for the RowDragOver and RowDrop events of the grid (TreeDataGridRowDragEventArgs).
TreeDataGridRowDragStartedEventArgs
Provides data for the RowDragStarted event of the grid (TreeDataGridRowDragStartedEventArgs).
TreeDataGridRowEventArgs
Provides data for the row events of the grid (TreeDataGridRowEventArgs).
TreeDataGridRowHeaderColumn
A column of row headers (TreeDataGridRowHeaderColumn): the number of each row.
TreeDataGridRowModel
A row of a grid as its model and the index of the model in the data (TreeDataGridRowModel).
TreeDataGridRowModelEventArgs
The arguments of an event about a row model (TreeDataGridRowModelEventArgs).
TreeDataGridSelectionChangedEventArgs
The arguments of TreeDataGrid’s SelectionChanged (TreeDataGridSelectionChangedEventArgs): the rows deselected and selected, with their models, and for a cell selection the cells deselected and selected.
TreeDataGridSelectionChangedEventArgsOf
The typed arguments of the selection changed event (TreeDataGridSelectionChangedEventArgs<TModel>): the rows with their models of type M, and the cells.
TreeDataGridSelectionMode
The selection mode of a TreeDataGrid ([Flags] TreeDataGridSelectionMode): rows or cells, one or many.
TreeDataGridSourceRef
A shared core source as the value of a property of the grid (Source, Model): the core’s source trait object, compared by identity.
TreeDataGridTemplateColumn
A template column (TreeDataGridTemplateColumn): cells built from a data template, given directly or as resource keys.
TreeDataGridTextColumn
A text column (TreeDataGridTextColumn): the value its binding selects, as text.
TreeDataGridVTable
The virtual table of the class.

Enums§

TreeDataGridRowDropPosition
Where dragged rows are dropped relative to the target row (TreeDataGridRowDropPosition).

Statics§

ASSEMBLY
What this crate states about itself for markup: its assembly name and the namespaces the XML namespace of the framework maps to (the XmlnsDefinition attributes of the reference project).

Traits§

HierarchicalTreeDataGridSourceExtensions
The helpers of hierarchical sources (WithHierarchicalExpanderTextColumn, WithHierarchicalExpanderColumn).
TreeDataGridColumn
A declarative column (abstract class TreeDataGridColumn).
TreeDataGridImpl
The overridable members introduced by the class.
TreeDataGridImplExt
Access to the base implementations of the overridable members.
TreeDataGridSourceExtensions
The fluent helpers of the sources (TreeDataGridSourceExtensions): each adds a column of the control crate to the source and returns it.

Functions§

register_types
Registers the namespaces, the types, the assembly and the compiled markup of this crate (and of the crates it is built on), and with the feature document-assets the theme documents as assets. Cheap and idempotent.

Type Aliases§

ObjectComparison
A comparison of two untyped models (Comparison<object?>).
ObjectLink
An object below a model whose changes a column observes (Func<object, object>; the ObjectLink of the declarative view columns).