C# Class PocketCampus.Map.MapEx

Extensions to map functionality.
Inheritance: System.Windows.DependencyObject
ファイルを表示 Open project: accandme/pocketcampus

Public Properties

Property Type Description
DisplayedLevelProperty System.Windows.DependencyProperty
LevelProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetDisplayedLevel ( DependencyObject obj ) : int
GetLevel ( DependencyObject obj ) : int
SetDisplayedLevel ( DependencyObject obj, int value ) : void
SetLevel ( DependencyObject obj, int value ) : void

Private Methods

Method Description
OnLevelChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void

Occurs when an item changes its level, or the map changes its displayed level.

Method Details

GetDisplayedLevel() public static method

public static GetDisplayedLevel ( DependencyObject obj ) : int
obj System.Windows.DependencyObject
return int

GetLevel() public static method

public static GetLevel ( DependencyObject obj ) : int
obj System.Windows.DependencyObject
return int

SetDisplayedLevel() public static method

public static SetDisplayedLevel ( DependencyObject obj, int value ) : void
obj System.Windows.DependencyObject
value int
return void

SetLevel() public static method

public static SetLevel ( DependencyObject obj, int value ) : void
obj System.Windows.DependencyObject
value int
return void

Property Details

DisplayedLevelProperty public_oe static_oe property

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

LevelProperty public_oe static_oe property

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