C# Class SleepHunter.Views.SpellTargetWindow

Inheritance: System.Windows.Window
Exibir arquivo Open project: ewrogers/SleepHunter4 Class Usage Examples

Public Properties

Property Type Description
IsEditModeProperty System.Windows.DependencyProperty
SpellProperty System.Windows.DependencyProperty

Public Methods

Method Description
SpellTargetWindow ( ) : System
SpellTargetWindow ( Spell spell ) : System
SpellTargetWindow ( Spell spell, SpellQueueItem item, bool isEditMode = true ) : System

Private Methods

Method 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 method

public SpellTargetWindow ( ) : System
return System

SpellTargetWindow() public method

public SpellTargetWindow ( Spell spell ) : System
spell SleepHunter.Models.Spell
return System

SpellTargetWindow() public method

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

Property Details

IsEditModeProperty public_oe static_oe property

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

SpellProperty public_oe static_oe property

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