C# Class SIL.FieldWorks.Common.UIAdapters.SilButtonItem

Creates a button whose font can specified independent of any other ButtonItems.
Inheritance: DevComponents.DotNetBar.ButtonItem
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Méthode Description
Paint ( DevComponents.DotNetBar.ItemPaintArgs e ) : void

Override the paint to make this item very distict from other menu items.

RecalcSize ( ) : void

When the font for the item is not the default font, then calclate our height based on the height of the font, plus 10% more for some padding.

SilButtonItem ( ) : System

Constructor for SilButtonItem

SilButtonItem ( string name ) : System

Constructor for SilButtonItem

SilButtonItem ( string name, string text ) : System

Constructor for SilButtonItem

Method Details

Paint() public méthode

Override the paint to make this item very distict from other menu items.
public Paint ( DevComponents.DotNetBar.ItemPaintArgs e ) : void
e DevComponents.DotNetBar.ItemPaintArgs
Résultat void

RecalcSize() public méthode

When the font for the item is not the default font, then calclate our height based on the height of the font, plus 10% more for some padding.
public RecalcSize ( ) : void
Résultat void

SilButtonItem() public méthode

Constructor for SilButtonItem
public SilButtonItem ( ) : System
Résultat System

SilButtonItem() public méthode

Constructor for SilButtonItem
public SilButtonItem ( string name ) : System
name string
Résultat System

SilButtonItem() public méthode

Constructor for SilButtonItem
public SilButtonItem ( string name, string text ) : System
name string
text string
Résultat System