Share via


PropertyValue.StringValue Property

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

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

Syntax

'Declaration
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)

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

Microsoft.Windows.Design.PropertyEditing Namespace

PropertyEntry

PropertyValueEditor

Other Resources

WPF Designer Extensibility

Property Editing Architecture