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 (namespaceFerroUI.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§
- Check
BoxColumn Create Options - The options of a check box column created by the helpers (
CheckBoxColumnCreateOptions<TModel>). - Column
Create Options - The options of a column created by the helpers (
ColumnCreateOptions<TModel>). - Hierarchical
Expander Column Create Options - The options of a hierarchical expander column created by the helpers
(
HierarchicalExpanderColumnCreateOptions<TModel>). - Items
Source Models - The items of an
ItemsSourceas 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. - Template
Column Create Options - The options of a template column created by the helpers (
TemplateColumnCreateOptions<TModel>). - Text
Column Create Options - The options of a text column created by the helpers (
TextColumnCreateOptions<TModel>). - Tree
Data Grid - Displays hierarchical and tabular data together in a single view (
TreeDataGrid). - Tree
Data Grid Binding Accessor - The accessor of the value a binding selects from a model (
TreeDataGridBindingAccessor). - Tree
Data Grid Binding Probe - A styled element with a two-way
Valueproperty (TreeDataGridBindingProbe). - Tree
Data Grid Cell Event Args - Provides data for the cell events of the grid (
TreeDataGridCellEventArgs). - Tree
Data Grid Check BoxColumn - A check box column (
TreeDataGridCheckBoxColumn): the boolean its binding selects. - Tree
Data Grid Column Base - The members every declarative column has (
TreeDataGridColumn). - Tree
Data Grid Columns - The declarative columns of a grid (
TreeDataGridColumns, a list ofTreeDataGridColumns). - Tree
Data Grid Diagnostics - Provides diagnostic settings for the grid (
static class TreeDataGridDiagnostics). - Tree
Data Grid Hierarchical Expander Column - 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. - Tree
Data Grid RowDrag Event Args - Provides data for the
RowDragOverandRowDropevents of the grid (TreeDataGridRowDragEventArgs). - Tree
Data Grid RowDrag Started Event Args - Provides data for the
RowDragStartedevent of the grid (TreeDataGridRowDragStartedEventArgs). - Tree
Data Grid RowEvent Args - Provides data for the row events of the grid (
TreeDataGridRowEventArgs). - Tree
Data Grid RowHeader Column - A column of row headers (
TreeDataGridRowHeaderColumn): the number of each row. - Tree
Data Grid RowModel - A row of a grid as its model and the index of the model in the data (
TreeDataGridRowModel). - Tree
Data Grid RowModel Event Args - The arguments of an event about a row model (
TreeDataGridRowModelEventArgs). - Tree
Data Grid Selection Changed Event Args - The arguments of
TreeDataGrid’sSelectionChanged(TreeDataGridSelectionChangedEventArgs): the rows deselected and selected, with their models, and for a cell selection the cells deselected and selected. - Tree
Data Grid Selection Changed Event Args Of - The typed arguments of the selection changed event (
TreeDataGridSelectionChangedEventArgs<TModel>): the rows with their models of typeM, and the cells. - Tree
Data Grid Selection Mode - The selection mode of a
TreeDataGrid([Flags] TreeDataGridSelectionMode): rows or cells, one or many. - Tree
Data Grid Source Ref - A shared core source as the value of a property of the grid (
Source,Model): the core’s source trait object, compared by identity. - Tree
Data Grid Template Column - A template column (
TreeDataGridTemplateColumn): cells built from a data template, given directly or as resource keys. - Tree
Data Grid Text Column - A text column (
TreeDataGridTextColumn): the value its binding selects, as text. - Tree
Data GridV Table - The virtual table of the class.
Enums§
- Tree
Data Grid RowDrop Position - 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
XmlnsDefinitionattributes of the reference project).
Traits§
- Hierarchical
Tree Data Grid Source Extensions - The helpers of hierarchical sources (
WithHierarchicalExpanderTextColumn,WithHierarchicalExpanderColumn). - Tree
Data Grid Column - A declarative column (
abstract class TreeDataGridColumn). - Tree
Data Grid Impl - The overridable members introduced by the class.
- Tree
Data Grid Impl Ext - Access to the base implementations of the overridable members.
- Tree
Data Grid Source Extensions - 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-assetsthe theme documents as assets. Cheap and idempotent.
Type Aliases§
- Object
Comparison - A comparison of two untyped models (
Comparison<object?>). - Object
Link - An object below a model whose changes a column observes (
Func<object, object>; theObjectLinkof the declarative view columns).