C# Class DocumentExplorerExample.Item

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

Public Methods

Method 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

Method 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 method

Item class factory implementation.
public static CreateItem ( Node aNode ) : Item
aNode Node
return Item

Item() public method

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

OnExpand() public method

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

Remove() public method

public Remove ( ) : void
return void