PropertyValue.Value Property

Gets or sets the value of this PropertyValue.

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

Syntax

'Declaration
Public Property Value As Object
'Usage
Dim instance As PropertyValue 
Dim value As Object 

value = instance.Value

instance.Value = value
public Object Value { get; set; }
public:
property Object^ Value {
    Object^ get ();
    void set (Object^ value);
}
public function get Value () : Object 
public function set Value (value : Object)

Property Value

Type: System.Object
An object that contains the value of this PropertyValue.

Remarks

Use the StringValue property instead if the property contains a String. Use the Collection property instead if the property contains a collection.

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

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

The set method of this property calls the OnPropertyChanged method to raise the change notification.

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