Click or drag to resize

YStaticMethodsPopulate Method

Populates a TreeView with a list of paths.

Namespace: Upsilon.Common.Forms
Assembly: Upsilon.Common.Forms (in Upsilon.Common.Forms.dll) Version: 2.3.2+14985a67b419f90e14e6b1bde61d18cf6cf12b27
Syntax
C#
public static void Populate(
	this TreeView treeView,
	IEnumerable<string> paths,
	char pathSeparator = '\'
)

Parameters

treeView  TreeView
The TreeView to populate.
paths  IEnumerableString
The list of paths.
pathSeparator  Char  (Optional)
The path separator character.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TreeView. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also