Windows Dev Center

ApplicationBar.Buttons Property

Gets the list of icon buttons that appear on the Application Bar.

Namespace:  Microsoft.Phone.Shell
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

public IList Buttons { get; }
<object>
  <IList .../>
</object>

Property Value

Type: System.Collections.IList
The Application Bar icon buttons.

Implements

IApplicationBar.Buttons

This collection is a generic list, but applications can add only ApplicationBarIconButton objects to it. You must set the Text property before adding a button to the Application Bar or an exception will be thrown.

Depending on the value of the Mode property, the buttons may not appear by default. The user can press the ellipsis on the Application Bar to expand it and see the buttons.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft