Table of Contents

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.

C#
public class Folder : ITabularObjectContainer, IFolderObject, ITabularTableObject, ITabularNamedObject, ITabularObject, INotifyPropertyChanged, IHandlerObject, INamedObject
Extension Methods

Properties

DisplayFolder

C#
[Browsable(false)] public string DisplayFolder { get; set; }

Property Value

Type Description
string

IsRemoved

C#
[Browsable(false)] public bool IsRemoved { get; }

Property Value

Type Description
bool

MetadataIndex

C#
[Browsable(false)] public int MetadataIndex { get; }

Property Value

Type Description
int

Model

C#
[Browsable(false)] public Model Model { get; }

Property Value

Type Description
Model

Name

C#
public string Name { get; set; }

Property Value

Type Description
string

ObjectType

C#
public ObjectType ObjectType { get; }

Property Value

Type Description
ObjectType

ParentTable

C#
[Browsable(false)] public Table ParentTable { get; }

Property Value

Type Description
Table

Path

C#
public string Path { get; }

Property Value

Type Description
string

Table

C#
[Browsable(false)] public Table Table { get; }

Property Value

Type Description
Table

TranslatedDisplayFolders

C#
[Browsable(false)] public TranslationIndexer TranslatedDisplayFolders { get; }

Property Value

Type Description
TranslationIndexer

Methods

CanDelete()

C#
public bool CanDelete()

Returns

Type Description
bool

CanDelete(out string)

C#
public bool CanDelete(out string message)

Parameters

Type Name Description
string message

Returns

Type Description
bool

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).

C#
public void Delete()

Equals(object)

C#
public override bool Equals(object obj)

Parameters

Type Name Description
object obj

Returns

Type Description
bool

Equals(Folder)

C#
public bool Equals(Folder other)

Parameters

Type Name Description
Folder other

Returns

Type Description
bool

GetChildren()

C#
public IEnumerable<ITabularNamedObject> GetChildren()

Returns

Type Description
IEnumerable<ITabularNamedObject>

GetChildrenByFolders()

C#
public IEnumerable<IFolderObject> GetChildrenByFolders()

Returns

Type Description
IEnumerable<IFolderObject>

GetHashCode()

C#
public override int GetHashCode()

Returns

Type Description
int

SetFolderName(string)

C#
public void SetFolderName(string newName)

Parameters

Type Name Description
string newName

Events

PropertyChanged

C#
public event PropertyChangedEventHandler PropertyChanged

Event Type

Type Description
PropertyChangedEventHandler

Operators

operator ==(Folder, Folder)

C#
public static bool operator ==(Folder obj1, Folder obj2)

Parameters

Type Name Description
Folder obj1
Folder obj2

Returns

Type Description
bool

operator !=(Folder, Folder)

C#
public static bool operator !=(Folder obj1, Folder obj2)

Parameters

Type Name Description
Folder obj1
Folder obj2

Returns

Type Description
bool