C# Класс GUI.Controls.BetterTreeView

Показать файл Открыть проект

Открытые методы

Метод Описание
AddFileNode ( PackageEntry file ) : void

Adds a node to the tree based on the passed file information. This is useful when building a directory-based tree.

BetterTreeView ( ) : System
GenerateIconList ( IEnumerable extensions ) : void
Search ( string value, SearchType searchType ) : IReadOnlyCollection

Performs a breadth-first-search on the TreeView's nodes in search of the passed value. The matching conditions are based on the passed search type parameter.

Защищенные методы

Метод Описание
OnPaint ( PaintEventArgs pe ) : void

Приватные методы

Метод Описание
Search ( string value, Func matchFunction ) : IReadOnlyCollection

Performs a breadth-first-search on the TreeView's nodes in search of the passed value. The matching conditions are based the passed function.

Описание методов

AddFileNode() публичный Метод

Adds a node to the tree based on the passed file information. This is useful when building a directory-based tree.
public AddFileNode ( PackageEntry file ) : void
file PackageEntry File entry.
Результат void

BetterTreeView() публичный Метод

public BetterTreeView ( ) : System
Результат System

GenerateIconList() публичный Метод

public GenerateIconList ( IEnumerable extensions ) : void
extensions IEnumerable
Результат void

OnPaint() защищенный Метод

protected OnPaint ( PaintEventArgs pe ) : void
pe PaintEventArgs
Результат void

Search() публичный Метод

Performs a breadth-first-search on the TreeView's nodes in search of the passed value. The matching conditions are based on the passed search type parameter.
public Search ( string value, SearchType searchType ) : IReadOnlyCollection
value string Value to search for in the TreeView. Matching on this value is based on the search type.
searchType SearchType Determines the matching of the value. For example, full/partial text search or full path search.
Результат IReadOnlyCollection