C# Class Petzold.GetMedieval.MedievalButton

Inheritance: System.Windows.Controls.Control
显示文件 Open project: kasicass/kasicass Class Usage Examples

Public Properties

Property Type Description
KnockEvent System.Windows.RoutedEvent
PreviewKnockEvent System.Windows.RoutedEvent
TextProperty System.Windows.DependencyProperty

Protected Methods

Method Description
MeasureOverride ( Size sizeAvailable ) : Size
OnKeyDown ( System.Windows.Input.KeyEventArgs args ) : void
OnKeyUp ( System.Windows.Input.KeyEventArgs args ) : void
OnKnock ( ) : void
OnLostMouseCapture ( System.Windows.Input.MouseEventArgs args ) : void
OnMouseEnter ( System.Windows.Input.MouseEventArgs args ) : void
OnMouseLeave ( System.Windows.Input.MouseEventArgs args ) : void
OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs args ) : void
OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs args ) : void
OnMouseMove ( System.Windows.Input.MouseEventArgs args ) : void
OnPreviewKnock ( ) : void
OnRender ( System.Windows.Media.DrawingContext dc ) : void

Private Methods

Method Description
MedievalButton ( ) : System

Method Details

MeasureOverride() protected method

protected MeasureOverride ( Size sizeAvailable ) : Size
sizeAvailable System.Windows.Size
return System.Windows.Size

OnKeyDown() protected method

protected OnKeyDown ( System.Windows.Input.KeyEventArgs args ) : void
args System.Windows.Input.KeyEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( System.Windows.Input.KeyEventArgs args ) : void
args System.Windows.Input.KeyEventArgs
return void

OnKnock() protected method

protected OnKnock ( ) : void
return void

OnLostMouseCapture() protected method

protected OnLostMouseCapture ( System.Windows.Input.MouseEventArgs args ) : void
args System.Windows.Input.MouseEventArgs
return void

OnMouseEnter() protected method

protected OnMouseEnter ( System.Windows.Input.MouseEventArgs args ) : void
args System.Windows.Input.MouseEventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( System.Windows.Input.MouseEventArgs args ) : void
args System.Windows.Input.MouseEventArgs
return void

OnMouseLeftButtonDown() protected method

protected OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs args ) : void
args System.Windows.Input.MouseButtonEventArgs
return void

OnMouseLeftButtonUp() protected method

protected OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs args ) : void
args System.Windows.Input.MouseButtonEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( System.Windows.Input.MouseEventArgs args ) : void
args System.Windows.Input.MouseEventArgs
return void

OnPreviewKnock() protected method

protected OnPreviewKnock ( ) : void
return void

OnRender() protected method

protected OnRender ( System.Windows.Media.DrawingContext dc ) : void
dc System.Windows.Media.DrawingContext
return void

Property Details

KnockEvent public_oe static_oe property

public static RoutedEvent,System.Windows KnockEvent
return System.Windows.RoutedEvent

PreviewKnockEvent public_oe static_oe property

public static RoutedEvent,System.Windows PreviewKnockEvent
return System.Windows.RoutedEvent

TextProperty public_oe static_oe property

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