ApplicationBar 类

继承层次结构

System.Object
  Microsoft.Phone.Shell.ApplicationBar

命名空间:  Microsoft.Phone.Shell
程序集:  Microsoft.Phone(在 Microsoft.Phone.dll 中)

语法

声明
<ContentPropertyAttribute("Buttons")> _
Public NotInheritable Class ApplicationBar _
    Implements IApplicationBar
[ContentPropertyAttribute("Buttons")]
public sealed class ApplicationBar : IApplicationBar
[ContentPropertyAttribute(L"Buttons")]
public ref class ApplicationBar sealed : IApplicationBar
[<Sealed>]
[<ContentPropertyAttribute("Buttons")>]
type ApplicationBar =  
    class
        interface IApplicationBar
    end

ApplicationBar 类型公开以下成员。

构造函数

  名称 说明
公共方法 ApplicationBar

页首

属性

  名称 说明
公共属性 BackgroundColor
公共属性 Buttons
公共属性 DefaultSize
公共属性 ForegroundColor
公共属性 IsMenuEnabled
公共属性 IsVisible
公共属性 MenuItems
公共属性 MiniSize
公共属性 Mode
公共属性 Opacity

页首

方法

  名称 说明
公共方法 Equals(Object) 确定指定的对象是否等于当前对象。 (继承自 Object。)
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

事件

  名称 说明
公共事件 StateChanged

页首

版本信息

适用于 Windows Phone 应用的 .NET

受以下版本支持:Windows Phone 8、Silverlight 8.1

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.Phone.Shell 命名空间