C# Class FlatRedBall.Gui.MenuStrip

UI Element used to provide compact access to functionality. Appears in most applications as the collection of menus beginning with File, Edit, etc.
Inheritance: Window
Mostra file Open project: vchelaru/FlatRedBall Class Usage Examples

Public Properties

Property Type Description
LeftEdge float
SpacingBetweenItems float

Public Methods

Method Description
AddItem ( string displayText ) : MenuItem
GetItem ( string displayText ) : MenuItem
MenuStrip ( Cursor cursor ) : System
UpdateMenuItemPositions ( ) : void

Method Details

AddItem() public method

public AddItem ( string displayText ) : MenuItem
displayText string
return MenuItem

GetItem() public method

public GetItem ( string displayText ) : MenuItem
displayText string
return MenuItem

MenuStrip() public method

public MenuStrip ( Cursor cursor ) : System
cursor Cursor
return System

UpdateMenuItemPositions() public method

public UpdateMenuItemPositions ( ) : void
return void

Property Details

LeftEdge public_oe property

public float LeftEdge
return float

SpacingBetweenItems public_oe property

public float SpacingBetweenItems
return float