C# 클래스 Harriet.Views.MainWindow

Harrietのメインウィンドウを表します。このウィンドウは一切表示されません。
파일 보기 프로젝트 열기: malaybaku/harriet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
NadenadeProperty System.Windows.DependencyProperty
WindowItselfProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
GetNadenade ( Window target ) : double

添付プロパティから撫でた量を取得します。

GetWindowItself ( Window target ) : MainWindow

ウィンドウ自身を取得します。

MainWindow ( ) : System.Windows

インスタンスを初期化します。

SetNadenade ( Window target, double value ) : void

添付プロパティに撫でた量を設定します。

SetWindowItself ( Window target, Window value ) : void

ウィンドウの参照を設定します。

보호된 메소드들

메소드 설명
OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void

掴んで動かす操作を認める。

OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void

キャラを撫でたのを検知

메소드 상세

GetNadenade() 공개 정적인 메소드

添付プロパティから撫でた量を取得します。
public static GetNadenade ( Window target ) : double
target System.Windows.Window 取得元
리턴 double

GetWindowItself() 공개 정적인 메소드

ウィンドウ自身を取得します。
public static GetWindowItself ( Window target ) : MainWindow
target System.Windows.Window 取得元
리턴 MainWindow

MainWindow() 공개 메소드

インスタンスを初期化します。
public MainWindow ( ) : System.Windows
리턴 System.Windows

OnMouseLeftButtonDown() 보호된 메소드

掴んで動かす操作を認める。
protected OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
리턴 void

OnMouseMove() 보호된 메소드

キャラを撫でたのを検知
protected OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
리턴 void

SetNadenade() 공개 정적인 메소드

添付プロパティに撫でた量を設定します。
public static SetNadenade ( Window target, double value ) : void
target System.Windows.Window 設定対象
value double 撫でた量
리턴 void

SetWindowItself() 공개 정적인 메소드

ウィンドウの参照を設定します。
public static SetWindowItself ( Window target, Window value ) : void
target System.Windows.Window 設定対象
value System.Windows.Window 設定したいウィンドウ
리턴 void

프로퍼티 상세

NadenadeProperty 공개적으로 정적으로 프로퍼티

撫でた量を取得、設定する依存関係プロパティです。
public static DependencyProperty,System.Windows NadenadeProperty
리턴 System.Windows.DependencyProperty

WindowItselfProperty 공개적으로 정적으로 프로퍼티

ウィンドウ自身を添付プロパティとして定義します。
public static DependencyProperty,System.Windows WindowItselfProperty
리턴 System.Windows.DependencyProperty