Interface IProjectItem
Interface for a project item.
Inherited Members
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
Namespace: Loehnert.Lisrt.Scripting.Project.ProjectItem.Interfaces
Assembly: Loehnert.Lisrt.Scripting.dll
Syntax
public interface IProjectItem : INotifyPropertyChanged
Remarks
Note for creating a new class: Add a public constructor with name as string (e. g. 'ProjectItem(string name)'). This is needed for loading the project by type from xml.
Properties
Icon
Gets the icon.
Declaration
Uri Icon { get; }
Property Value
Type | Description |
---|---|
Uri |
Remarks
This icon will be used if there is no template for the file name extension.
Name
Gets the name of the item. E.g. file name or folder name.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
String |
Parent
Gets or sets the parent for this project item.
Declaration
ICompositeProjectItem Parent { get; set; }
Property Value
Type | Description |
---|---|
ICompositeProjectItem |