Creates a tree view.
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
C# |
---|
public static TreeView CreateTreeView( int x, int y, int width, int height, Color backColor, Color foreColor, Font font, DockStyle dockStyle, params string[] items ) |
Parameters
- x
- Type: System..::.Int32
Position X.
- y
- Type: System..::.Int32
Position Y.
- width
- Type: System..::.Int32
Control width.
- height
- Type: System..::.Int32
Control height.
- backColor
- Type: System.Drawing..::.Color
A background color.
- foreColor
- Type: System.Drawing..::.Color
A foreground color.
- font
- Type: System.Drawing..::.Font
A font.
- dockStyle
- Type: System.Windows.Forms..::.DockStyle
A dock style.
- items
- Type: array<
System..::.String
>[]()[]
Items in the selection.