C# Class System.Windows.Forms.RibbonCaptionButton

Minimise, Maximise, Restore and Close buttons in the Ribbon caption area
Inheritance: System.Windows.Forms.RibbonButton
Afficher le fichier Open project: pjfwork-dwarf-fortress Class Usage Examples

Méthodes publiques

Méthode Description
GetCharFor ( CaptionButton type ) : string

Gets the character to render the specified button type

OnClick ( EventArgs e ) : void
RibbonCaptionButton ( CaptionButton buttonType ) : System

Creates a new CaptionButton

Private Methods

Méthode Description
OnGetTextBounds ( RibbonElementSizeMode sMode, Rectangle bounds ) : Rectangle
SetCaptionButtonType ( CaptionButton buttonType ) : void

Sets value to the type of caption button

Method Details

GetCharFor() public static méthode

Gets the character to render the specified button type
public static GetCharFor ( CaptionButton type ) : string
type CaptionButton type of button
Résultat string

OnClick() public méthode

public OnClick ( EventArgs e ) : void
e EventArgs
Résultat void

RibbonCaptionButton() public méthode

Creates a new CaptionButton
public RibbonCaptionButton ( CaptionButton buttonType ) : System
buttonType CaptionButton
Résultat System