Buttons Property

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.

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

Property Value

Type: System.Collections.IList
The Application Bar icon 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

© 2017 Microsoft