Dela via


PropertyValue.StringValue Property

Gets or sets the value of this PropertyValue as a String.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design (in Microsoft.Windows.Design.dll)

Syntax

'Declaration
Public Property StringValue As String
'Usage
Dim instance As PropertyValue 
Dim value As String 

value = instance.StringValue

instance.StringValue = value
public string StringValue { get; set; }
public:
property String^ StringValue {
    String^ get ();
    void set (String^ value);
}
public function get StringValue () : String 
public function set StringValue (value : String)

Property Value

Type: System.String
A string that contains the value of this PropertyValue.

Remarks

The default value is Empty.

Use the Value property or the Collection property instead if the property does not contain a String.

The set method of this property calls the following method to do the work:

The get method of this property calls the following method to do the work:

This property calls OnPropertyValueException if necessary to handle exceptions.

.NET Framework Security

See Also

Reference

PropertyValue Class

PropertyValue Members

Microsoft.Windows.Design.PropertyEditing Namespace

PropertyEntry

PropertyValueEditor

Other Resources

WPF Designer Extensibility

Property Editing Architecture