PropertyValue.Value Property

Gets or sets the value of this PropertyValue.

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

Syntax

'Declaration
Public Property Value As Object
    Get
    Set
public Object Value { get; set; }
public:
property Object^ Value {
    Object^ get ();
    void set (Object^ value);
}
member Value : Object with get, set
function get Value () : Object
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

Microsoft.Windows.Design.PropertyEditing Namespace

PropertyEntry

PropertyValueEditor

Other Resources

WPF Designer Extensibility

Property Editing Architecture