Class ClassificationSelector
Control which provides methods and properties for hierarchical selection of classifications
Inheritance
System.Object
ClassificationSelector
Namespace: Simplic.Framework.Extension.UI
Assembly: Simplic.Framework.Extension.dll
Syntax
public class ClassificationSelector : ContentControl
Constructors
| Improve this Doc View SourceClassificationSelector()
Initialize new Treeview selector control
Declaration
public ClassificationSelector()
Fields
| Improve this Doc View SourceInstanceDataGuidProperty
Dependency property for binding the currently selected instance data guid
Declaration
public static readonly DependencyProperty InstanceDataGuidProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
StackGuidProperty
Dependency property to bind the currently used stackguid
Declaration
public static readonly DependencyProperty StackGuidProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceCurrentContext
Current context
Declaration
protected ClassificationSelectorViewModel CurrentContext { get; }
Property Value
Type | Description |
---|---|
ClassificationSelectorViewModel |
InstanceDataGuid
Gets or sets the current instancedata guid
Declaration
public Guid InstanceDataGuid { get; set; }
Property Value
Type | Description |
---|---|
Guid |
StackGuid
Gets or sets the stack, for selection classifications
Declaration
public Guid StackGuid { get; set; }
Property Value
Type | Description |
---|---|
Guid |
UnusedClassifications
Get a list of all classification configurations, which are currently not assigned
Declaration
public IList<ClassificationConfiguration> UnusedClassifications { get; }
Property Value
Type | Description |
---|---|
IList<ClassificationConfiguration> |
Methods
| Improve this Doc View SourceAssignClassification(Guid)
Assign a new classification
Declaration
public void AssignClassification(Guid classificationId)
Parameters
Type | Name | Description |
---|---|---|
Guid | classificationId | Unique id of the classification |
OnClassificationChanged(ClassificationChangedEventArgs)
Call classification changed event
Declaration
protected void OnClassificationChanged(ClassificationChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
ClassificationChangedEventArgs | args | Argument |
Save()
Save all changes
Declaration
public void Save()
Events
| Improve this Doc View SourceClassificationChanged
Will be called when classification changed
Declaration
public event ClassificationSelector.ClassificationChangedEventHandler ClassificationChanged
Event Type
Type | Description |
---|---|
ClassificationSelector.ClassificationChangedEventHandler |