FilterPanel class
Network family — class
Filter panel component that provides filtering and search capabilities for network elements. Supports node/link filtering by properties, search queries, and visibility controls.
Members
| Member | Kind | Description |
|---|---|---|
string SearchQuery | Property | Gets or sets the search query text. |
bool CaseSensitive | Property | Gets or sets whether the search is case-sensitive. |
bool UseRegex | Property | Gets or sets whether to use regular expressions for search. |
int MinDegree | Property | Gets or sets the minimum node degree filter. |
int MaxDegree | Property | Gets or sets the maximum node degree filter. |
bool ShowConnectedOnly | Property | Gets or sets whether to show only connected nodes. |
bool ShowIsolatedNodes | Property | Gets or sets whether to show isolated nodes (degree = 0). |
List<NetworkNode> FilteredNodes | Property | Gets the list of filtered nodes. |
List<NetworkLink> FilteredLinks | Property | Gets the list of filtered links. |
bool ShowControls | Property | Gets or sets whether to show filter controls. |
event EventHandler<FilterChangedEventArgs> FilterChanged | Event | Event raised when the filter changes. |
FilterPanel() | Method | Initializes a new instance of the FilterPanel class. |
void ApplyFilters(List<NetworkNode> nodes, List<NetworkLink> links) | Method | Applies filters to the given network data. The network nodes. The network links. |
void ClearFilters() | Method | Clears all filters and shows all elements. |
void SetSearchQuery(string query) | Method | Sets a search query and applies filters. The search query. |
void SetDegreeRange(int minDegree, int maxDegree) | Method | Sets degree range filter. The minimum degree. The maximum degree. |