C# Class Gilgame.SEWorkbench.ViewModels.MenuItemViewModel

Inheritance: BaseViewModel
Mostra file Open project: gilgame/SEWorkbench Class Usage Examples

Public Properties

Property Type Description
_InputGestureText string

Public Methods

Method Description
AddChild ( MenuItemViewModel item ) : void
AddSeparator ( ) : void
GetItemByName ( string name ) : MenuItemViewModel
MenuItemViewModel ( BaseViewModel parent, string header ) : System
MenuItemViewModel ( BaseViewModel parent, string header, ICommand command ) : System
RemoveChildByIdentifier ( System.Guid identifier ) : void

Private Methods

Method Description
GetItemByName ( MenuItemViewModel item, string name ) : MenuItemViewModel
RemoveChildByIdentifier ( System.Guid identifier, MenuItemViewModel root ) : void

Method Details

AddChild() public method

public AddChild ( MenuItemViewModel item ) : void
item MenuItemViewModel
return void

AddSeparator() public method

public AddSeparator ( ) : void
return void

GetItemByName() public method

public GetItemByName ( string name ) : MenuItemViewModel
name string
return MenuItemViewModel

MenuItemViewModel() public method

public MenuItemViewModel ( BaseViewModel parent, string header ) : System
parent BaseViewModel
header string
return System

MenuItemViewModel() public method

public MenuItemViewModel ( BaseViewModel parent, string header, ICommand command ) : System
parent BaseViewModel
header string
command ICommand
return System

RemoveChildByIdentifier() public method

public RemoveChildByIdentifier ( System.Guid identifier ) : void
identifier System.Guid
return void

Property Details

_InputGestureText public_oe property

public string _InputGestureText
return string