KeyTipControl.Text 属性

获取或设置与此控件关联的文本。

命名空间:  Microsoft.Windows.Controls
程序集:  RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)

语法

声明
Public Property Text As String
    Get
    Set
public string Text { get; set; }
public:
property String^ Text {
    String^ get ();
    void set (String^ value);
}
member Text : string with get, set
function get Text () : String
function set Text (value : String)

属性值

类型:System.String
与该控件关联的文本。
注册的默认值为空字符串。有关可以影响值的因素的更多信息,请参见 依赖项属性值优先级

依赖项属性信息

标识符字段

TextProperty

设置为 true 的元数据属性

AffectsMeasure, AffectsRender

.NET Framework 安全性

请参见

参考

KeyTipControl 类

Microsoft.Windows.Controls 命名空间