C# Class csShared.Controls.Popups.MenuPopup.MenuPopupViewModel

Inheritance: Caliburn.Micro.Screen, IPopupScreen
ファイルを表示 Open project: TNOCS/csTouch Class Usage Examples

Public Methods

Method Description
AddMenuItem ( string header ) : System.Windows.Controls.MenuItem
AddMenuItems ( string headers ) : void
Close ( ) : void
MenuPopupViewModel ( ) : Caliburn.Micro

Protected Methods

Method Description
OnViewLoaded ( object theView ) : void

Private Methods

Method Description
Items_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
MiClick ( object sender, RoutedEventArgs e ) : void
RelativeElement_LayoutUpdated ( object sender, EventArgs e ) : void
UpdatePosition ( ) : void
miRemove_Click ( object sender, RoutedEventArgs e ) : void
toTimer_Tick ( object sender, EventArgs e ) : void

Method Details

AddMenuItem() public method

public AddMenuItem ( string header ) : System.Windows.Controls.MenuItem
header string
return System.Windows.Controls.MenuItem

AddMenuItems() public method

public AddMenuItems ( string headers ) : void
headers string
return void

Close() public method

public Close ( ) : void
return void

MenuPopupViewModel() public method

public MenuPopupViewModel ( ) : Caliburn.Micro
return Caliburn.Micro

OnViewLoaded() protected method

protected OnViewLoaded ( object theView ) : void
theView object
return void