C# Class wyDay.Controls.SplitButton

Inheritance: System.Windows.Forms.Button
Afficher le fichier Open project: zdimension/SharpBoot

Private Properties

Свойство Type Description
AlignInRectangle System.Drawing.Rectangle
CalculateButtonAutoSize System.Drawing.Size
CalculateButtonTextAndImageLayout void
GetHorizontalAlignment HorizontalAlignment
GetVerticalAlignment VerticalAlignment
LayoutTextAboveOrBelowImage void
LayoutTextBeforeOrAfterImage void
OverlayObjectRect System.Drawing.Rectangle
PaintArrow void
PaintTextandImage void
SetButtonDrawState void
SplitMenuStrip_Closing void
SplitMenuStrip_Opening void
SplitMenu_Popup void
getSt ComboBoxState

Méthodes publiques

Méthode Description
GetPreferredSize ( Size proposedSize ) : Size
ShowContextMenuStrip ( ) : void
SplitButton ( ) : System

Méthodes protégées

Méthode Description
IsInputKey ( Keys keyData ) : bool
OnEnabledChanged ( EventArgs e ) : void
OnGotFocus ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs kevent ) : void
OnKeyUp ( KeyEventArgs kevent ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseUp ( MouseEventArgs mevent ) : void
OnPaint ( PaintEventArgs pevent ) : void
WndProc ( Message &m ) : void

Private Methods

Méthode Description
AlignInRectangle ( Rectangle outer, Size inner, System.Drawing.ContentAlignment align ) : Rectangle
CalculateButtonAutoSize ( ) : Size
CalculateButtonTextAndImageLayout ( Rectangle &content_rect, Rectangle &textRectangle, Rectangle &imageRectangle ) : void
GetHorizontalAlignment ( System.Drawing.ContentAlignment align ) : HorizontalAlignment
GetVerticalAlignment ( System.Drawing.ContentAlignment align ) : VerticalAlignment
LayoutTextAboveOrBelowImage ( Rectangle totalArea, bool textFirst, Size textSize, Size imageSize, Rectangle &textRect, Rectangle &imageRect ) : void
LayoutTextBeforeOrAfterImage ( Rectangle totalArea, bool textFirst, Size textSize, Size imageSize, Rectangle &textRect, Rectangle &imageRect ) : void
OverlayObjectRect ( Rectangle &container, Size &sizeOfObject, System.Drawing.ContentAlignment alignment ) : Rectangle
PaintArrow ( Graphics g ) : void
PaintTextandImage ( Graphics g, Rectangle bounds ) : void
SetButtonDrawState ( ) : void
SplitMenuStrip_Closing ( object sender, System.Windows.Forms.ToolStripDropDownClosingEventArgs e ) : void
SplitMenuStrip_Opening ( object sender, CancelEventArgs e ) : void
SplitMenu_Popup ( object sender, EventArgs e ) : void
getSt ( PushButtonState st ) : ComboBoxState

Method Details

GetPreferredSize() public méthode

public GetPreferredSize ( Size proposedSize ) : Size
proposedSize System.Drawing.Size
Résultat System.Drawing.Size

IsInputKey() protected méthode

protected IsInputKey ( Keys keyData ) : bool
keyData Keys
Résultat bool

OnEnabledChanged() protected méthode

protected OnEnabledChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnGotFocus() protected méthode

protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnKeyDown() protected méthode

protected OnKeyDown ( KeyEventArgs kevent ) : void
kevent System.Windows.Forms.KeyEventArgs
Résultat void

OnKeyUp() protected méthode

protected OnKeyUp ( KeyEventArgs kevent ) : void
kevent System.Windows.Forms.KeyEventArgs
Résultat void

OnLostFocus() protected méthode

protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseEnter() protected méthode

protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseLeave() protected méthode

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseUp() protected méthode

protected OnMouseUp ( MouseEventArgs mevent ) : void
mevent MouseEventArgs
Résultat void

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs pevent ) : void
pevent PaintEventArgs
Résultat void

ShowContextMenuStrip() public méthode

public ShowContextMenuStrip ( ) : void
Résultat void

SplitButton() public méthode

public SplitButton ( ) : System
Résultat System

WndProc() protected méthode

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
Résultat void