共用方式為


MenuBase.DisplayName 屬性

取得或設定在功能表項目上顯示的當地語系化文字。

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

語法

'宣告
Public Property DisplayName As String
    Get
    Set
public string DisplayName { get; set; }
public:
property String^ DisplayName {
    String^ get ();
    void set (String^ value);
}
member DisplayName : string with get, set
function get DisplayName () : String
function set DisplayName (value : String)

屬性值

型別:System.String
在功能表項目上顯示的當地語系化文字。

.NET Framework 安全性

請參閱

參考

MenuBase 類別

Microsoft.Windows.Design.Interaction 命名空間

其他資源

WPF 設計工具擴充性