Class ConceptNode
Represents a single concept in a concept hierarchy.
Inherited Members
Algenta.Colectica.Model.NotificationObject.RaisePropertyChanged<T>(Expression<>)
Namespace: Algenta.Colectica.Model.Ddi.Utility
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class ConceptNode : NotificationObject
Constructors
ConceptNode(Concept)
Initializes a new instance of the ConceptNode class.
Declaration
public ConceptNode(Concept concept)
Parameters
Type | Name | Description |
---|---|---|
Concept | concept | The concept represented by this node. |
Properties
Children
Gets the child concepts in the hierarchy.
Declaration
public ObservableCollection<ConceptNode> Children { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<ConceptNode> |
Concept
Gets or sets the concept represented by this node.
Declaration
public Concept Concept { get; set; }
Property Value
Type | Description |
---|---|
Concept |
IsExpanded
Gets or sets a value indicating whether the concept is expanded in a user interface.
Declaration
public bool IsExpanded { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSelected
Gets or sets a value indicating whether the concept is selected in a user interface.
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Parent
Gets or sets the node of the concept above this concept in the hierarchy.
Declaration
public ConceptNode Parent { get; set; }
Property Value
Type | Description |
---|---|
ConceptNode |
Methods
GetHierarchy(ConceptScheme)
Gets the complete concept hierarchy formed by the specified ConceptScheme.
Declaration
public static List<ConceptNode> GetHierarchy(ConceptScheme conceptScheme)
Parameters
Type | Name | Description |
---|---|---|
ConceptScheme | conceptScheme | The concept scheme. |
Returns
Type | Description |
---|---|
List<ConceptNode> | A list of concept nodes that appear at the root of the hierarchy. |
RaisePropertyChanged(String)
Raises this object's PropertyChanged event for each of the properties.
Declaration
protected override void RaisePropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName |