共用方式為


MenuBase 類別

更新:2007 年 11 月

為動作和群組提供基底類別 (Base Class)。

命名空間:  Microsoft.Windows.Design.Interaction
組件:  Microsoft.Windows.Design.Extensibility (在 Microsoft.Windows.Design.Extensibility.dll 中)

語法

Public MustInherit Class MenuBase _
    Implements INotifyPropertyChanged

Dim instance As MenuBase
public abstract class MenuBase : INotifyPropertyChanged
public ref class MenuBase abstract : INotifyPropertyChanged
public abstract class MenuBase implements INotifyPropertyChanged

備註

MenuBase 支援資料繫結 (Data Binding)。

繼承階層架構

System.Object
  Microsoft.Windows.Design.Interaction.MenuBase
    Microsoft.Windows.Design.Interaction.MenuAction
    Microsoft.Windows.Design.Interaction.MenuGroup

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。

請參閱

參考

MenuBase 成員

Microsoft.Windows.Design.Interaction 命名空間

其他資源

WPF 設計工具擴充性