C# Class SleepHunter.Views.SpellTargetWindow

Inheritance: System.Windows.Window
Afficher le fichier Open project: ewrogers/SleepHunter4 Class Usage Examples

Méthodes publiques

Свойство Type Description
IsEditModeProperty System.Windows.DependencyProperty
SpellProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
SpellTargetWindow ( ) : System
SpellTargetWindow ( Spell spell ) : System
SpellTargetWindow ( Spell spell, SpellQueueItem item, bool isEditMode = true ) : System

Private Methods

Méthode Description
GetLocationForMode ( TargetCoordinateUnits units ) : Point
GetSelectedMode ( ) : TargetCoordinateUnits
InitializeViews ( ) : void
OnPlayerCollectionChanged ( object sender, PlayerEventArgs e ) : void
OnPlayerPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
SetTargetForMode ( SpellTarget target ) : void
ToggleTargetMode ( TargetCoordinateUnits units ) : void
ValidateSpellTarget ( ) : bool
okButton_Click ( object sender, RoutedEventArgs e ) : void
targetModeComboBox_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Method Details

SpellTargetWindow() public méthode

public SpellTargetWindow ( ) : System
Résultat System

SpellTargetWindow() public méthode

public SpellTargetWindow ( Spell spell ) : System
spell SleepHunter.Models.Spell
Résultat System

SpellTargetWindow() public méthode

public SpellTargetWindow ( Spell spell, SpellQueueItem item, bool isEditMode = true ) : System
spell SleepHunter.Models.Spell
item SpellQueueItem
isEditMode bool
Résultat System

Property Details

IsEditModeProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsEditModeProperty
Résultat System.Windows.DependencyProperty

SpellProperty public_oe static_oe property

public static DependencyProperty,System.Windows SpellProperty
Résultat System.Windows.DependencyProperty