C# Класс Dev2.Studio.Core.ViewModels.Navigation.NavigationItemViewModelBase

Наследование: Dev2.Studio.Core.ViewModels.Base.BaseViewModel
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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

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

Метод Описание
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

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

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

Tries to find a child recursively based on the provided predicate
public GetChild ( bool>.Func predicate ) : NavigationItemViewModelBase
predicate bool>.Func
Результат NavigationItemViewModelBase

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

Gets the number of children recursively based on the predicate
public GetChildCount ( bool>.Func predicate ) : long
predicate bool>.Func
Результат long

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

Gets all children recursively that match the predicate
public GetChildren ( bool>.Func predicate ) : List
predicate bool>.Func
Результат List

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

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
Результат System

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

protected OnChecked ( ) : void
Результат void

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

public SilentlyCheck ( bool isChecked ) : void
isChecked bool
Результат void

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

Signals the the child count properties should be manually updated
public UpdateChildCount ( ) : void
Результат void