Skip to content

List of components

yvlawy edited this page Apr 2, 2018 · 17 revisions

1. TabControl with closable TabItems Headers

MoellonToolKit provides a TabControl with closable TabItem Headers. Its possible to use this TabControl with or without standart (unclosable) TabItems. More details: TabControl with closable TabItems

2. Dynamic dataGrid

MoellonToolKit provides a dynamic DataGrid, columns (and rows) can be added or removed dynamically during the run of the application. More détails: Dynamic DataGrid

3. ObservableCollection extension

The component named ObservableCollectionExt is useful to refresh items when one of them changes by calling the method: RaiseCollectionChanges().

The default ObservableCollection container is refreshed only when an item is added or removed to/from the collection.

ObservableCollection<MyComponent> CollMyComponent= new ObservableCollection<MyComponent>();
...
// the property linked to a XAML component
public CollMyComponent { get ; private set; }

...
private void RefreshContent()
{
   ...
   // an item content has changed, refresh the UI
   CollMyComponent.RaiseCollectionChanges();
   ...
}