Class ExportsOptions.ExportsTreeNode
Exports menu node.
Inheritance
System.Object
ExportsOptions.ExportsTreeNode
Namespace: FastReport.Utils
Assembly: FastReport.Base.dll
Syntax
public class ExportsTreeNode
Properties
Enabled
Gets or sets a value that indicates whether the node is enabled.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ExportType
Gets or sets the type of the export.
Declaration
public Type ExportType { get; set; }
Property Value
Type | Description |
---|---|
System.Type |
Image
Gets or sets the image.
Declaration
public Bitmap Image { get; set; }
Property Value
Type | Description |
---|---|
Bitmap |
ImageIndex
Gets or sets the image index.
Declaration
public int ImageIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Nodes
Gets child nodes.
Declaration
public ExportsOptions.ExportsTreeNode.ExportsTreeNodeCollection Nodes { get; }
Property Value
Type | Description |
---|---|
ExportsOptions.ExportsTreeNode.ExportsTreeNodeCollection |
Parent
Gets the parent node.
Declaration
public ExportsOptions.ExportsTreeNode Parent { get; }
Property Value
Type | Description |
---|---|
ExportsOptions.ExportsTreeNode |
Root
Gets the root node.
Declaration
public ExportsOptions.ExportsTreeNode Root { get; }
Property Value
Type | Description |
---|---|
ExportsOptions.ExportsTreeNode |
Tag
Gets or sets the tag.
Declaration
public ObjectInfo Tag { get; }
Property Value
Type | Description |
---|---|
ObjectInfo |
Text
Gets or sets the display text.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
AddCategory(String, Int32)
Adds a category.
Declaration
public ExportsOptions.ExportsTreeNode AddCategory(string name, int imageIndex = -1)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The category key name. |
System.Int32 | imageIndex | The image index. |
Returns
Type | Description |
---|---|
ExportsOptions.ExportsTreeNode | The category node. |
AddCategory(String, String, Bitmap)
Adds a category.
Declaration
public ExportsOptions.ExportsTreeNode AddCategory(string name, string text, Bitmap image)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The category key name. |
System.String | text | The category display text. |
Bitmap | image | The image. |
Returns
Type | Description |
---|---|
ExportsOptions.ExportsTreeNode | The category node. |
AddExport(Type, String, Bitmap)
Adds an export and registers it.
Declaration
public ExportsOptions.ExportsTreeNode AddExport(Type type, string text, Bitmap image)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The export type. |
System.String | text | The display text. |
Bitmap | image | The image. |
Returns
Type | Description |
---|---|
ExportsOptions.ExportsTreeNode | Returns this object to allow method chaining. |
AddExport(Type, String, Int32)
Adds an export and registers it.
Declaration
public ExportsOptions.ExportsTreeNode AddExport(Type type, string text, int imageIndex = -1)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The export type. |
System.String | text | The display text. |
System.Int32 | imageIndex | The image index. |
Returns
Type | Description |
---|---|
ExportsOptions.ExportsTreeNode | Returns this object to allow method chaining. |