Inheritance
System.Object
TreeMenuItem
Assembly: Syncfusion.Tools.Windows.dll
public class TreeMenuItem : Control
Constructors
Declaration
Fields
current index of the item
Declaration
protected int currentindex
Field Value
Properties
Gets or sets the System.Drawing.Font value of the TreeMenuItem control.
Declaration
public override Font Font { get; set; }
Property Value
Returns true if it has sub items
Declaration
public bool HasChildren { get; }
Property Value
Gets or sets the Item BackColor
Declaration
public Color ItemBackColor { get; set; }
Property Value
| Type |
| System.Drawing.Color |
Gets or sets the Item HoverColor
Declaration
public Color ItemHoverColor { get; set; }
Property Value
| Type |
| System.Drawing.Color |
Gets or sets the value to the items of the the TreeNavigator.
Declaration
public TreeMenuItemCollection Items { get; set; }
Property Value
Gets or sets the Itemselection
Declaration
public bool Selected { get; set; }
Property Value
Gets or sets the SelectedItem BackColor
Declaration
public Color SelectedColor { get; set; }
Property Value
| Type |
| System.Drawing.Color |
Gets or sets the Selected Item ForeColor
Declaration
public Color SelectedItemForeColor { get; set; }
Property Value
| Type |
| System.Drawing.Color |
Declaration
public bool Visible { get; set; }
Property Value
Methods
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
| Type |
| System.Windows.Forms.AccessibleObject |
Disposing all the events used
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type |
Name |
Description |
| System.Boolean |
disposing |
|
Declaration
protected override void OnForeColorChanged(EventArgs e)
Parameters
| Type |
Name |
Description |
| System.EventArgs |
e |
|
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.KeyEventArgs |
e |
|
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.MouseEventArgs |
e |
|
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
| Type |
Name |
Description |
| System.EventArgs |
e |
EventArgs
|
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
| Type |
Name |
Description |
| System.EventArgs |
e |
EventArgs
|
Raises the System.Windows.Forms.Control.MouseMove event.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.MouseEventArgs |
e |
A System.Windows.Forms.MouseEventArgs that contains the event data.
|
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.PaintEventArgs |
e |
|
Declaration
protected override void OnSizeChanged(EventArgs e)
Parameters
| Type |
Name |
Description |
| System.EventArgs |
e |
|
Declaration
protected override void OnTextChanged(EventArgs e)
Parameters
| Type |
Name |
Description |
| System.EventArgs |
e |
|
Resets the Items in the ItemsCollection
Declaration
Declaration
protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
Parameters
| Type |
Name |
Description |
| System.Int32 |
x |
|
| System.Int32 |
y |
|
| System.Int32 |
width |
|
| System.Int32 |
height |
|
| System.Windows.Forms.BoundsSpecified |
specified |
|
Declaration
protected override void WndProc(ref Message m)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.Message |
m |
|