This documentation is archived and is not being maintained.
PropertyValue Class
Visual Studio 2010
Maintains a data model for the value of a property in the property grid.
Assembly: System.Activities.Presentation (in System.Activities.Presentation.dll)
The PropertyValue type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | PropertyValue | Creates a new instance of the PropertyValue class with the parent property set to a specified PropertyEntry object. |
| Name | Description | |
|---|---|---|
![]() | CanConvertFromString | When implemented in a derived class, indicates whether Value can be converted from a string. |
![]() | CatchExceptions | Gets a flag that indicates whether exceptions thrown during property value getting and setting should be caught or should be propagated directly to the caller. |
![]() | Collection | 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. |
![]() | HasSubProperties | When implemented in a derived class, gets a flag that indicates whether the type of this property supports sub-properties. |
![]() | IsCollection | When implemented in a derived class, gets a flag that indicates whether this PropertyValue is a collection. |
![]() | IsDefaultValue | When implemented in a derived class, gets a flag that indicates whether the Value is the default value for the property. |
![]() | IsMixedValue | When implemented in a derived class, gets a flag that indicates whether multiple objects contain this property and have different values. |
![]() | ParentProperty | Gets the parent PropertyEntry when the property implementation occurs in a host environment. |
![]() | Source | When implemented in a derived class, gets a PropertyValueSource that contains information about where this property value is coming from. |
![]() | StringValue | Gets or sets a Value as a String. |
![]() | SubProperties | When implemented in a derived class, gets a collection of sub-properties as PropertyEntry instances. |
![]() | Value | Gets or sets a property value in the underlying collection of property data. |
| Name | Description | |
|---|---|---|
![]() | ClearValue | When implemented in a derived class, clears the PropertyValue so that it is unset. |
![]() | ConvertStringToValue | When implemented in a derived class, converts the specified StringValue to a Value. |
![]() | ConvertValueToString | When implemented in a derived class, converts the specified Value to a StringValue. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetValueCore | When implemented in a derived class, returns a Value. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | NotifyRootValueChanged | Raises the SubPropertyChanged event when the underlying value type is changed externally, as on the design surface. |
![]() | NotifySubPropertyChanged | Raises the SubPropertyChanged event when one of the sub-properties of this property has changed. |
![]() | OnPropertyChanged(PropertyChangedEventArgs) | Raises the PropertyChanged event with the specified PropertyChangedEventArgs objects. |
![]() | OnPropertyChanged(String) | Raises the PropertyChanged event that uses the name of the property that changed. |
![]() | OnPropertyValueException | Default implementation that raises the PropertyValueException event when PropertyValue properties experience failure getting or setting values in the underlying collection of data. |
![]() | SetValueCore | When implemented in a derived class, sets the Value. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | ValidateValue | When implemented in a derived class, throws an exception if verification of the specified value object shows it to be invalid. |
| Name | Description | |
|---|---|---|
![]() | PropertyChanged | Event fired when properties or sub-properties of the PropertyValue object change. |
![]() | PropertyValueException | Event used by host implementations for error handling. |
![]() | RootValueChanged | Event fired when the Value or StringValue property is updated as a result of the PropertyValue value being changed. |
![]() | SubPropertyChanged | Event fired when sub-properties are updated as a result of the PropertyValue being changed. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
