PropertyValue Class

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Maintains a data model for the value of a property in the property grid.

Namespace:   System.Activities.Presentation.PropertyEditing
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

System.Object
  System.Activities.Presentation.PropertyEditing.PropertyValue

public abstract class PropertyValue : INotifyPropertyChanged

NameDescription
System_CAPS_protmethodPropertyValue(PropertyEntry)

Initializes a new instance of the PropertyValue class with the parent property set to a specified PropertyEntry object.

NameDescription
System_CAPS_pubpropertyCanConvertFromString

When implemented in a derived class, gets a value that indicates whether Value can be converted from a string.

System_CAPS_protpropertyCatchExceptions

Gets a value that indicates whether exceptions thrown during property value getting and setting should be caught or should be propagated directly to the caller.

System_CAPS_pubpropertyCollection

When implemented in a derived class, gets a collection of PropertyValue instances that correspond to items in a collection when IsCollection verifies that the property is a collection.

System_CAPS_pubpropertyHasSubProperties

When implemented in a derived class, gets a value that indicates whether the type of this property supports sub-properties.

System_CAPS_pubpropertyIsCollection

When implemented in a derived class, gets a value that indicates whether this PropertyValue is a collection.

System_CAPS_pubpropertyIsDefaultValue

When implemented in a derived class, gets a value that indicates whether the Value is the default value for the property.

System_CAPS_pubpropertyIsMixedValue

When implemented in a derived class, gets a value that indicates whether multiple objects contain this property and have different values.

System_CAPS_pubpropertyParentProperty

Gets the parent PropertyEntry when the property implementation occurs in a host environment.

System_CAPS_pubpropertySource

When implemented in a derived class, gets a PropertyValueSource object that contains information about where this property value is coming from.

System_CAPS_pubpropertyStringValue

Gets or sets a Value as a String.

System_CAPS_pubpropertySubProperties

When implemented in a derived class, gets a collection of sub-properties as PropertyEntry instances.

System_CAPS_pubpropertyValue

Gets or sets a property value in the underlying collection of property data.

NameDescription
System_CAPS_pubmethodClearValue()

When implemented in a derived class, clears the PropertyValue so that it is unset.

System_CAPS_protmethodConvertStringToValue(String)

When implemented in a derived class, converts the specified StringValue to a Value.

System_CAPS_protmethodConvertValueToString(Object)

When implemented in a derived class, converts the specified Value to a StringValue.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodGetValueCore()

When implemented in a derived class, returns a Value.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodNotifyRootValueChanged()

Raises the RootValueChanged event when the underlying value type is changed externally, as on the design surface.

System_CAPS_protmethodNotifySubPropertyChanged()

Raises the SubPropertyChanged event when one of the sub-properties of this property has changed.

System_CAPS_protmethodOnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event with the specified PropertyChangedEventArgs objects.

System_CAPS_protmethodOnPropertyChanged(String)

Raises the PropertyChanged event that uses the name of the property that changed.

System_CAPS_protmethodOnPropertyValueException(PropertyValueExceptionEventArgs)

Default implementation that raises the PropertyValueException event when PropertyValue properties experience failure getting or setting values in the underlying collection of data.

System_CAPS_protmethodSetValueCore(Object)

When implemented in a derived class, sets the Value.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodValidateValue(Object)

When implemented in a derived class, throws an exception if verification of the specified value object shows it to be invalid.

NameDescription
System_CAPS_pubeventPropertyChanged

Occurs when properties or sub-properties of the PropertyValue object has changed.

System_CAPS_pubeventPropertyValueException

Event used by host implementations for error handling.

System_CAPS_pubeventRootValueChanged

Occurs when the Value or StringValue property is updated as a result of the PropertyValue value being changed.

System_CAPS_pubeventSubPropertyChanged

Occurs when sub-properties are updated as a result of the PropertyValue being changed.

.NET Framework
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: