PropertyValue.StringValue 属性

获取或设置此 PropertyValue 作为 String 的值。

命名空间:  Microsoft.Windows.Design.PropertyEditing
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

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

属性值

类型:System.String
一个字符串,它包含 PropertyValue 的值。

备注

默认值为 Empty

如果属性不包含 String,则转而使用 Value 属性或 Collection 属性。

此属性的设置方法调用以下方法来执行工作:

此属性的获取方法调用以下方法来执行工作:

如果处理异常时需要,此属性将调用 OnPropertyValueException

.NET Framework 安全性

请参见

参考

PropertyValue 类

Microsoft.Windows.Design.PropertyEditing 命名空间

PropertyEntry

PropertyValueEditor

其他资源

WPF 设计器扩展性

属性编辑体系结构