为什么我的ApplicationBar 没有Mode属性?
查看了网上的示例
ApplicationBar = new ApplicationBar();ApplicationBar.Mode = ApplicationBarMode.Default;
#region 程序集 Microsoft.Phone.dll, v2.0.50727// C:\Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone\Microsoft.Phone.dll#endregionusing Microsoft.Phone.Shell.Interop;using System;using System.Collections;using System.Windows.Markup;using System.Windows.Media;namespace Microsoft.Phone.Shell{ // 摘要: // Allows developers to create and display an application bar with between 1 // and 4 buttons and a set of text menu items in Windows Phone applications. [ContentProperty("Buttons")] public sealed class ApplicationBar : IApplicationBar { public ApplicationBar(); public Color BackgroundColor { get; set; } public IList Buttons { get; } public Color ForegroundColor { get; set; } public bool IsMenuEnabled { get; set; } public bool IsVisible { get; set; } public IList MenuItems { get; } public double Opacity { get; set; } public event EventHandler<ApplicationBarStateChangedEventArgs> StateChanged; }}