ApplicationBar.Buttons Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

Syntax

Public ReadOnly Property Buttons As IList
public IList Buttons { get; }
<object>
  <IList .../>
</object>

Property Value

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

Implements

IApplicationBar..::.Buttons

Remarks

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

ApplicationBar Class

Microsoft.Phone.Shell Namespace

Other Resources

App bar for Windows Phone

App bar icon buttons for Windows Phone