C# Class Geowigo.Utils.ControlExtensions

Mostrar archivo Open project: WFoundation/WF.Player.WinPhone

Public Methods

Method Description
CreateAndAddButton ( this appBar, string iconFilenameRelative, ICommand command, string text ) : Microsoft.Phone.Shell.ApplicationBarIconButton

Creates a button and adds it to an application bar.

CreateAndAddMenuItem ( this appBar, ICommand command, string text ) : Microsoft.Phone.Shell.ApplicationBarMenuItem

Creates a menu item and adds it to an application bar.

Private Methods

Method Description
ApplyCredentials ( this mapControl ) : void

Applies map credentials to this map control.

Method Details

CreateAndAddButton() public static method

Creates a button and adds it to an application bar.
public static CreateAndAddButton ( this appBar, string iconFilenameRelative, ICommand command, string text ) : Microsoft.Phone.Shell.ApplicationBarIconButton
appBar this
iconFilenameRelative string
command ICommand
text string
return Microsoft.Phone.Shell.ApplicationBarIconButton

CreateAndAddMenuItem() public static method

Creates a menu item and adds it to an application bar.
public static CreateAndAddMenuItem ( this appBar, ICommand command, string text ) : Microsoft.Phone.Shell.ApplicationBarMenuItem
appBar this
command ICommand
text string
return Microsoft.Phone.Shell.ApplicationBarMenuItem