Class Folder
- Inheritance
-
Folder
- Implements
-
- Inherited Members
-
- Namespace
- TabularEditor.TOMWrapper
- Assembly
- TOMWrapper.dll
Represents a Folder in the TreeView. Does not correspond to any object in the TOM.
Implements IDisplayFolderObject since a Folder can itself be located within another
display folder.
Implements IParentObject since a Folder can contain child objects.
public class Folder : ITabularObjectContainer, IFolderObject, ITabularTableObject, ITabularNamedObject, ITabularObject, INotifyPropertyChanged, INamedObject
- Extension Methods
-
Properties
DisplayFolder
[Browsable(false)]
public string DisplayFolder { get; set; }
Property Value
IsRemoved
[Browsable(false)]
public bool IsRemoved { get; }
Property Value
[Browsable(false)]
public int MetadataIndex { get; }
Property Value
Model
[Browsable(false)]
public Model Model { get; }
Property Value
Name
public string Name { get; set; }
Property Value
ObjectType
public ObjectType ObjectType { get; }
Property Value
ParentTable
[Browsable(false)]
public Table ParentTable { get; }
Property Value
Path
public string Path { get; }
Property Value
Table
[Browsable(false)]
public Table Table { get; }
Property Value
TranslatedDisplayFolders
[Browsable(false)]
public TranslationIndexer TranslatedDisplayFolders { get; }
Property Value
Methods
CanDelete()
Returns
CanDelete(out string)
public bool CanDelete(out string message)
Parameters
Type |
Name |
Description |
string |
message |
|
Returns
Delete()
Deleting a folder does not delete child objects - it just removes the folder.
Any child folders are retained (but will be moved up the display folder hierarchy).
Equals(object)
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Equals(Folder)
public bool Equals(Folder other)
Parameters
Type |
Name |
Description |
Folder |
other |
|
Returns
GetChildren()
public IEnumerable<ITabularNamedObject> GetChildren()
Returns
GetChildrenByFolders()
public IEnumerable<IFolderObject> GetChildrenByFolders()
Returns
GetHashCode()
public override int GetHashCode()
Returns
SetFolderName(string)
public void SetFolderName(string newName)
Parameters
Type |
Name |
Description |
string |
newName |
|
Events
PropertyChanged
public event PropertyChangedEventHandler PropertyChanged
Event Type
Operators
operator ==(Folder, Folder)
public static bool operator ==(Folder obj1, Folder obj2)
Parameters
Returns
operator !=(Folder, Folder)
public static bool operator !=(Folder obj1, Folder obj2)
Parameters
Returns