Class MetaItem
Inheritance
System.Object
MetaItem
Assembly: FastReport.Olap.dll
Constructors
Declaration
Declaration
public MetaItem(string text, ItemOption options = ItemOption.None, MetaItem parent = null, int imageIndex = -1, string tooltip = "", object data = null)
Parameters
Type |
Name |
Description |
System.String |
text |
|
ItemOption |
options |
|
MetaItem |
parent |
|
System.Int32 |
imageIndex |
|
System.String |
tooltip |
|
System.Object |
data |
|
Declaration
public MetaItem(string text, MetaItem parent)
Parameters
Type |
Name |
Description |
System.String |
text |
|
MetaItem |
parent |
|
Declaration
public MetaItem(string text, MetaItem parent, object data)
Parameters
Type |
Name |
Description |
System.String |
text |
|
MetaItem |
parent |
|
System.Object |
data |
|
Fields
Declaration
protected List<MetaItem> subItems
Field Value
Type |
Description |
System.Collections.Generic.List<MetaItem> |
|
Properties
Declaration
public object Data { get; }
Property Value
Type |
Description |
System.Object |
|
Declaration
public virtual int ImageIndex { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public virtual int Index { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public virtual ItemOption Options { get; set; }
Property Value
Declaration
public MetaItem Parent { get; }
Property Value
Text
Declaration
public virtual string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public virtual string Tooltip { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
public virtual void AddSubItem(MetaItem subItem)
Parameters
Declaration
public virtual void DoChildClick(Toolbar toolbar, MetaItem child)
Parameters
Declaration
public virtual void DoClick(Toolbar toolbar)
Parameters
Type |
Name |
Description |
Toolbar |
toolbar |
|
Declaration
public virtual bool GetChecked(Toolbar toolbar)
Parameters
Type |
Name |
Description |
Toolbar |
toolbar |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public virtual bool GetChildChecked(Toolbar toolbar, MetaItem child)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public virtual bool GetEnabled(Toolbar toolbar)
Parameters
Type |
Name |
Description |
Toolbar |
toolbar |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public virtual MetaItem[] GetSubItems()
Returns
Declaration
Declaration
protected void UpdateOptions()
Events
Declaration
public event EventHandler OnUpdate
Event Type
Type |
Description |
System.EventHandler |
|