Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PropertyValue Class

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

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

Namespace:  System.Activities.Presentation.PropertyEditing
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)
public abstract class PropertyValue : INotifyPropertyChanged

The PropertyValue type exposes the following members.

  NameDescription
Protected methodPropertyValueInitializes a new instance of the PropertyValue class with the parent property set to a specified PropertyEntry object.
Top
  NameDescription
Public propertyCanConvertFromStringWhen implemented in a derived class, gets a value that indicates whether Value can be converted from a string.
Protected propertyCatchExceptionsGets a value that indicates whether exceptions thrown during property value getting and setting should be caught or should be propagated directly to the caller.
Public propertyCollectionWhen 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.
Public propertyHasSubPropertiesWhen implemented in a derived class, gets a value that indicates whether the type of this property supports sub-properties.
Public propertyIsCollectionWhen implemented in a derived class, gets a value that indicates whether this PropertyValue is a collection.
Public propertyIsDefaultValueWhen implemented in a derived class, gets a value that indicates whether the Value is the default value for the property.
Public propertyIsMixedValueWhen implemented in a derived class, gets a value that indicates whether multiple objects contain this property and have different values.
Public propertyParentPropertyGets the parent PropertyEntry when the property implementation occurs in a host environment.
Public propertySourceWhen implemented in a derived class, gets a PropertyValueSource object that contains information about where this property value is coming from.
Public propertyStringValueGets or sets a Value as a String.
Public propertySubPropertiesWhen implemented in a derived class, gets a collection of sub-properties as PropertyEntry instances.
Public propertyValueGets or sets a property value in the underlying collection of property data.
Top
  NameDescription
Public methodClearValueWhen implemented in a derived class, clears the PropertyValue so that it is unset.
Protected methodConvertStringToValueWhen implemented in a derived class, converts the specified StringValue to a Value.
Protected methodConvertValueToStringWhen implemented in a derived class, converts the specified Value to a StringValue.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodGetValueCoreWhen implemented in a derived class, returns a Value.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodNotifyRootValueChangedRaises the RootValueChanged event when the underlying value type is changed externally, as on the design surface.
Protected methodNotifySubPropertyChangedRaises the SubPropertyChanged event when one of the sub-properties of this property has changed.
Protected methodOnPropertyChanged(PropertyChangedEventArgs)Raises the PropertyChanged event with the specified PropertyChangedEventArgs objects.
Protected methodOnPropertyChanged(String)Raises the PropertyChanged event that uses the name of the property that changed.
Protected methodOnPropertyValueExceptionDefault implementation that raises the PropertyValueException event when PropertyValue properties experience failure getting or setting values in the underlying collection of data.
Protected methodSetValueCoreWhen implemented in a derived class, sets the Value.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Protected methodValidateValueWhen implemented in a derived class, throws an exception if verification of the specified value object shows it to be invalid.
Top
  NameDescription
Public eventPropertyChangedOccurs when properties or sub-properties of the PropertyValue object has changed.
Public eventPropertyValueExceptionEvent used by host implementations for error handling.
Public eventRootValueChangedOccurs when the Value or StringValue property is updated as a result of the PropertyValue value being changed.
Public eventSubPropertyChangedOccurs when sub-properties are updated as a result of the PropertyValue being changed.
Top

.NET Framework

Supported in: 4.5.1, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.