C# Class Dev2.Studio.Core.ViewModels.Navigation.NavigationItemViewModelBase

Inheritance: Dev2.Studio.Core.ViewModels.Base.BaseViewModel
Afficher le fichier Open project: Warewolf-ESB/Warewolf Class Usage Examples

Méthodes publiques

Méthode Description
GetChild ( bool>.Func predicate ) : NavigationItemViewModelBase

Tries to find a child recursively based on the provided predicate

GetChildCount ( bool>.Func predicate ) : long

Gets the number of children recursively based on the predicate

GetChildren ( bool>.Func predicate ) : List

Gets all children recursively that match the predicate

SilentlyCheck ( bool isChecked ) : void
UpdateChildCount ( ) : void

Signals the the child count properties should be manually updated

Méthodes protégées

Méthode Description
NavigationItemViewModelBase ( string name, string iconPath, NavigationItemViewModelBase parent, object dataContext, bool isExpanded = false, bool isSelected = false, bool>.Func childCountPredicate = null, bool isChecked = false ) : System
OnChecked ( ) : void

Method Details

GetChild() public méthode

Tries to find a child recursively based on the provided predicate
public GetChild ( bool>.Func predicate ) : NavigationItemViewModelBase
predicate bool>.Func
Résultat NavigationItemViewModelBase

GetChildCount() public méthode

Gets the number of children recursively based on the predicate
public GetChildCount ( bool>.Func predicate ) : long
predicate bool>.Func
Résultat long

GetChildren() public méthode

Gets all children recursively that match the predicate
public GetChildren ( bool>.Func predicate ) : List
predicate bool>.Func
Résultat List

NavigationItemViewModelBase() protected méthode

protected NavigationItemViewModelBase ( string name, string iconPath, NavigationItemViewModelBase parent, object dataContext, bool isExpanded = false, bool isSelected = false, bool>.Func childCountPredicate = null, bool isChecked = false ) : System
name string
iconPath string
parent NavigationItemViewModelBase
dataContext object
isExpanded bool
isSelected bool
childCountPredicate bool>.Func
isChecked bool
Résultat System

OnChecked() protected méthode

protected OnChecked ( ) : void
Résultat void

SilentlyCheck() public méthode

public SilentlyCheck ( bool isChecked ) : void
isChecked bool
Résultat void

UpdateChildCount() public méthode

Signals the the child count properties should be manually updated
public UpdateChildCount ( ) : void
Résultat void