C# Class SleepHunter.Views.StaffEditorWindow

Inheritance: System.Windows.Window
Show file Open project: ewrogers/SleepHunter4 Class Usage Examples

Public Properties

Property Type Description
IsEditModeProperty System.Windows.DependencyProperty

Public Methods

Method Description
StaffEditorWindow ( ) : System
StaffEditorWindow ( StaffMetadata staff, bool isEditMode = true ) : System

Private Methods

Method Description
GetPlayerClass ( ) : PlayerClass
SetPlayerClass ( PlayerClass playerClass ) : void
ValidateStaff ( ) : bool
Window_Loaded ( object sender, RoutedEventArgs e ) : void
cancelButton_Click ( object sender, RoutedEventArgs e ) : void
isAbilityLevelCheckBox_Checked ( object sender, RoutedEventArgs e ) : void
okButton_Click ( object sender, RoutedEventArgs e ) : void

Method Details

StaffEditorWindow() public method

public StaffEditorWindow ( ) : System
return System

StaffEditorWindow() public method

public StaffEditorWindow ( StaffMetadata staff, bool isEditMode = true ) : System
staff SleepHunter.Metadata.StaffMetadata
isEditMode bool
return System

Property Details

IsEditModeProperty public static property

public static DependencyProperty,System.Windows IsEditModeProperty
return System.Windows.DependencyProperty