C# 클래스 Octgn.Play.Gui.CardControl

상속: System.Windows.Controls.UserControl
파일 보기 프로젝트 열기: octgn/OCTGN 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AnimateLoadProperty System.Windows.DependencyProperty
CardDroppedEvent System.Windows.RoutedEvent
CardHoveredEvent System.Windows.RoutedEvent
CardImageStretchProperty System.Windows.DependencyProperty
CardOutEvent System.Windows.RoutedEvent
CardOverEvent System.Windows.RoutedEvent
DisplayedPictureProperty System.Windows.DependencyProperty
IsAlwaysUpProperty System.Windows.DependencyProperty
IsAnchoredProperty System.Windows.DependencyProperty
IsInvertedProperty System.Windows.DependencyProperty
IsUpProperty System.Windows.DependencyProperty
MultipleCardsProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
AnimateLoad void
AnimateOrientation void
AnimateTurn void
CardChangedHandler void
DragCollapseSelection void
GetCardVisual Visual
GetMiddlePoint Point
IsAlwaysUpChanged void
IsUpChanged void
MarkerDropped void
MouseButtonDoubleClickAction void
MouseButtonUpAction void
OnSizeChanged void
PropertyChangeHandler void
RemoveCardHandler void
RestoreCardHandler void
SetDisplayedPicture void
TableKeyDown void
UpdateInvertedTransform void

공개 메소드들

메소드 설명
CardControl ( ) : System
CreateArrowTo ( Player player, CardControl toCard ) : void
GetAnimateLoad ( DependencyObject obj ) : bool
GetDownKeys ( ) : List
SetAnimateLoad ( DependencyObject obj, bool value ) : void

보호된 메소드들

메소드 설명
DragCardCompleted ( ) : void
DragCardStarted ( ) : void
DragMouseDelta ( double dx, double dy ) : void
DragTargetDelta ( Point pt ) : void
LeftButtonDownOverCount ( object sender, System.Windows.Input.MouseEventArgs e ) : void
LeftButtonDownOverImage ( object sender, System.Windows.Input.MouseEventArgs e ) : void
MeasureOverride ( Size constraint ) : Size
OnContextMenuOpening ( System.Windows.Controls.ContextMenuEventArgs e ) : void
OnMouseDoubleClick ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
OnMouseUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnPreviewMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnPreviewMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnPropertyChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPropertyChanged ( string propertyName ) : void
OnVisualParentChanged ( DependencyObject oldParent ) : void
Turned ( object sender, EventArgs e ) : void

비공개 메소드들

메소드 설명
AnimateLoad ( object sender, RoutedEventArgs e ) : void
AnimateOrientation ( CardOrientation newOrientation ) : void
AnimateTurn ( bool newIsUp ) : void
CardChangedHandler ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
DragCollapseSelection ( IInputElement previous, IInputElement current ) : void
GetCardVisual ( ) : Visual
GetMiddlePoint ( bool invertRotation ) : Point
IsAlwaysUpChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
IsUpChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
MarkerDropped ( object sender, Octgn.Play.Gui.MarkerEventArgs e ) : void
MouseButtonDoubleClickAction ( System.Windows.Input.MouseButtonEventArgs e ) : void
MouseButtonUpAction ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
PropertyChangeHandler ( object sender, PropertyChangedEventArgs e ) : void
RemoveCardHandler ( object sender, RoutedEventArgs e ) : void
RestoreCardHandler ( object sender, RoutedEventArgs e ) : void
SetDisplayedPicture ( ImageSource value ) : void
TableKeyDown ( object source, TableKeyEventArgs te ) : void
UpdateInvertedTransform ( ) : void

메소드 상세

CardControl() 공개 메소드

public CardControl ( ) : System
리턴 System

CreateArrowTo() 공개 메소드

public CreateArrowTo ( Player player, CardControl toCard ) : void
player Player
toCard CardControl
리턴 void

DragCardCompleted() 보호된 메소드

protected DragCardCompleted ( ) : void
리턴 void

DragCardStarted() 보호된 메소드

protected DragCardStarted ( ) : void
리턴 void

DragMouseDelta() 보호된 메소드

protected DragMouseDelta ( double dx, double dy ) : void
dx double
dy double
리턴 void

DragTargetDelta() 보호된 메소드

protected DragTargetDelta ( Point pt ) : void
pt Point
리턴 void

GetAnimateLoad() 공개 정적인 메소드

public static GetAnimateLoad ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
리턴 bool

GetDownKeys() 공개 정적인 메소드

public static GetDownKeys ( ) : List
리턴 List

LeftButtonDownOverCount() 보호된 메소드

protected LeftButtonDownOverCount ( object sender, System.Windows.Input.MouseEventArgs e ) : void
sender object
e System.Windows.Input.MouseEventArgs
리턴 void

LeftButtonDownOverImage() 보호된 메소드

protected LeftButtonDownOverImage ( object sender, System.Windows.Input.MouseEventArgs e ) : void
sender object
e System.Windows.Input.MouseEventArgs
리턴 void

MeasureOverride() 보호된 메소드

protected MeasureOverride ( Size constraint ) : Size
constraint System.Windows.Size
리턴 System.Windows.Size

OnContextMenuOpening() 보호된 메소드

protected OnContextMenuOpening ( System.Windows.Controls.ContextMenuEventArgs e ) : void
e System.Windows.Controls.ContextMenuEventArgs
리턴 void

OnMouseDoubleClick() 보호된 메소드

protected OnMouseDoubleClick ( 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

OnMouseUp() 보호된 메소드

protected OnMouseUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
리턴 void

OnPreviewMouseDown() 보호된 메소드

protected OnPreviewMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
리턴 void

OnPreviewMouseLeftButtonDown() 보호된 메소드

protected OnPreviewMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
리턴 void

OnPropertyChanged() 보호된 메소드

protected OnPropertyChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
리턴 void

OnPropertyChanged() 보호된 메소드

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
리턴 void

OnVisualParentChanged() 보호된 메소드

protected OnVisualParentChanged ( DependencyObject oldParent ) : void
oldParent System.Windows.DependencyObject
리턴 void

SetAnimateLoad() 공개 정적인 메소드

public static SetAnimateLoad ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
리턴 void

Turned() 보호된 메소드

protected Turned ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

프로퍼티 상세

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

public static DependencyProperty,System.Windows AnimateLoadProperty
리턴 System.Windows.DependencyProperty

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

public static RoutedEvent,System.Windows CardDroppedEvent
리턴 System.Windows.RoutedEvent

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

public static RoutedEvent,System.Windows CardHoveredEvent
리턴 System.Windows.RoutedEvent

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

public static DependencyProperty,System.Windows CardImageStretchProperty
리턴 System.Windows.DependencyProperty

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

public static RoutedEvent,System.Windows CardOutEvent
리턴 System.Windows.RoutedEvent

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

public static RoutedEvent,System.Windows CardOverEvent
리턴 System.Windows.RoutedEvent

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

public static DependencyProperty,System.Windows DisplayedPictureProperty
리턴 System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows IsAlwaysUpProperty
리턴 System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows IsAnchoredProperty
리턴 System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows IsInvertedProperty
리턴 System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows IsUpProperty
리턴 System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows MultipleCardsProperty
리턴 System.Windows.DependencyProperty