C# Class DocumentExplorerExample.Item

Base class to provide GUI representation for document nodes.
Afficher le fichier Open project: aspose-words/Aspose.Words-for-.NET

Méthodes publiques

Méthode Description
CreateItem ( Node aNode ) : Item

Item class factory implementation.

Item ( Node aNode ) : System

Creates Item for the document node.

OnExpand ( ) : void

Provides lazy on-expand loading of underlying tree nodes.

Remove ( ) : void

Private Methods

Méthode Description
FetchResourceStream ( string resourceName ) : Stream

Returns a resource stream from the executing assembly or throws if the resource cannot be found.

Item ( ) : System

Static ctor.

LoadIcon ( string anIconName ) : Icon

Loads icon from assembly resource stream.

Method Details

CreateItem() public static méthode

Item class factory implementation.
public static CreateItem ( Node aNode ) : Item
aNode Node
Résultat Item

Item() public méthode

Creates Item for the document node.
public Item ( Node aNode ) : System
aNode Node Document node which this Item will represent.
Résultat System

OnExpand() public méthode

Provides lazy on-expand loading of underlying tree nodes.
public OnExpand ( ) : void
Résultat void

Remove() public méthode

public Remove ( ) : void
Résultat void