C# 클래스 Dev2.Studio.Core.ViewModels.Navigation.NavigationItemViewModelBase

상속: Dev2.Studio.Core.ViewModels.Base.BaseViewModel
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf 1 사용 예제들

공개 메소드들

메소드 설명
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