-
-
Notifications
You must be signed in to change notification settings - Fork 10
Crow.TemplatedGroup
Jean-Philippe Bruyère edited this page Oct 26, 2021
·
4 revisions
namespace: Crow
public class TemplatedGroup : TemplatedControl
⬜ | prototype | description |
---|
⬜ | name | description |
---|---|---|
Data |
__ | |
DataTest |
Use to define condition on Data item for selecting among ItemTemplates. Default value is 'TypeOf' for selecting Template depending on Type of Data. Other possible values are properties of Data | |
HasItems |
__ | |
HasItemTemplates |
True if this templated group contains at least one item template. | |
Items |
__ | |
ItemTemplate |
Item templates file path, on disk or embedded. | |
SelectedIndex |
__ | |
SelectedItem |
__ | |
UseLoadingThread |
Use anothred thread for loading items, default value is true. |
⬜ | prototype | description |
---|---|---|
void AddItem(Widget g) |
__ | |
void ClearItems() |
__ | |
bool Contains(Widget goToFind) |
__ | |
Widget FindByName(string nameToFind) |
override search method from Widget to prevent searching inside template | |
T FindByType< T >() |
__ | |
void OnInsertClick(object sender, MouseEventArgs e) |
__ | |
void onKeyDown(object sender, KeyEventArgs e) |
__ | |
void OnRemoveClick(object sender, MouseEventArgs e) |
__ | |
void onSelectedItemChanged(object sender, SelectionChangeEventArgs e) |
__ | |
void OnUpdateClick(object sender, MouseEventArgs e) |
__ | |
void RemoveItem(Widget g, bool disposeChild=true) |
__ |
⬜ | name | description |
---|---|---|
Loaded |
__ | |
SelectedItemChanged |
__ | |
SelectedItemContainerChanged |
raised when root widget of item template is a 'ListItem' and this item is selected. |