C# 클래스 KeyboardEditor.ViewModels.VMKeyEditable

상속: VMContextElementEditable
파일 보기 프로젝트 열기: Invenietis/ck-certified

공개 메소드들

메소드 설명
MoveDown ( int pixels ) : void
MoveLeft ( int pixels ) : void
MoveRight ( int pixels ) : void
MoveUp ( int pixels ) : void
OnKeyDownAction ( int keyCode, int delta ) : void
OnKeyPropertyChanged ( object sender, KeyPropertyChangedEventArgs e ) : void
OnPointerButtonUp ( PointerDeviceEventArgs args ) : void
TriggerMouseEvent ( KeyboardEditorMouseEvent eventType, PointerDeviceEventArgs args ) : void
VMKeyEditable ( VMContextEditable ctx, IKey k ) : System

보호된 메소드들

메소드 설명
OnTriggerModeChanged ( ) : void
SetActionOnPropertyChanged ( string propertyName, Action action ) : void

비공개 메소드들

메소드 설명
DeleteKey ( ) : void
DispatchPropertyChanged ( string propertyName, string target ) : void
Dispose ( ) : void
EnsureKeyMode ( ) : void

Makes sure there is a KeyMode on this key for the current mode.

GetImageSourceCache ( ) : void

We save the bitmapImage that is the source of the image set to this key. Thanks to that, we can call the Image property from multiple components. If we save the Image itself in a cache, it can only be used in one component at a time.

HandleBottomLeft ( DragDeltaEventArgs args ) : void
HandleBottomRight ( DragDeltaEventArgs args ) : void
HandleTopLeft ( DragDeltaEventArgs args ) : void
HandleTopRight ( DragDeltaEventArgs args ) : void
OnConfigChanged ( object sender, ConfigChangedEventArgs e ) : void
OnKeyModelCollectionChanged ( object sender, KeyModeEventArgs e ) : void
OnLayoutKeyModelCollectionChanged ( object sender, LayoutKeyModeEventArgs e ) : void
OnModeChanged ( object sender, KeyboardModeChangedEventArgs e ) : void
OnMouseMove ( PointerDeviceEventArgs e ) : void
OnPropertyChangedTriggered ( object sender, PropertyChangedEventArgs e ) : void
PositionChanged ( ) : void
RefreshKeyModeCollection ( ) : void
RefreshKeyboardModelViewModels ( ) : void
RefreshLayoutKeyModeCollection ( ) : void
RegisterEvents ( ) : void
RegisterOnPropertyChanged ( ) : void
SetCommands ( ) : void
StopDragging ( ) : void
TriggerOnPropertyChanged ( string propertyName ) : void
UnregisterEvents ( ) : void

메소드 상세

MoveDown() 공개 메소드

public MoveDown ( int pixels ) : void
pixels int
리턴 void

MoveLeft() 공개 메소드

public MoveLeft ( int pixels ) : void
pixels int
리턴 void

MoveRight() 공개 메소드

public MoveRight ( int pixels ) : void
pixels int
리턴 void

MoveUp() 공개 메소드

public MoveUp ( int pixels ) : void
pixels int
리턴 void

OnKeyDownAction() 공개 메소드

public OnKeyDownAction ( int keyCode, int delta ) : void
keyCode int
delta int
리턴 void

OnKeyPropertyChanged() 공개 메소드

public OnKeyPropertyChanged ( object sender, KeyPropertyChangedEventArgs e ) : void
sender object
e KeyPropertyChangedEventArgs
리턴 void

OnPointerButtonUp() 공개 메소드

public OnPointerButtonUp ( PointerDeviceEventArgs args ) : void
args PointerDeviceEventArgs
리턴 void

OnTriggerModeChanged() 보호된 메소드

protected OnTriggerModeChanged ( ) : void
리턴 void

SetActionOnPropertyChanged() 보호된 메소드

protected SetActionOnPropertyChanged ( string propertyName, Action action ) : void
propertyName string
action Action
리턴 void

TriggerMouseEvent() 공개 메소드

public TriggerMouseEvent ( KeyboardEditorMouseEvent eventType, PointerDeviceEventArgs args ) : void
eventType KeyboardEditorMouseEvent
args PointerDeviceEventArgs
리턴 void

VMKeyEditable() 공개 메소드

public VMKeyEditable ( VMContextEditable ctx, IKey k ) : System
ctx VMContextEditable
k IKey
리턴 System