PropertyValue Members

Include Protected Members
Include Inherited Members

Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Maintains a data model for the value of a property.

The PropertyValue type exposes the following members.

Constructors

  Name Description
Protected method PropertyValue Creates a new instance of the PropertyValue class with the parent property set to a specified PropertyEntry object.

Top

Methods

  Name Description
Public method ClearValue When implemented in a derived class, clears the PropertyValue so that it is unset.
Protected method ConvertStringToValue When implemented in a derived class, converts the specified StringValue to a Value.
Protected method ConvertValueToString When implemented in a derived class, converts the specified Value to a StringValue.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method GetValueCore When implemented in a derived class, returns a Value.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method NotifyRootValueChanged Raises the SubPropertyChanged event when the underlying value type is changed externally, as on the design surface.
Protected method NotifySubPropertyChanged Raises the SubPropertyChanged event when one of the sub-properties of this property has changed.
Protected method OnPropertyChanged Overloaded. Raises the PropertyChanged event when the property value has changed.
Protected method OnPropertyValueException Default implementation that raises the PropertyValueException event when PropertyValue properties experience failure getting or setting values in the underlying collection of data.
Protected method SetValueCore When implemented in a derived class, sets the Value.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Protected method ValidateValue When implemented in a derived class, throws an exception if verification of the specified value object shows it to be invalid.

Top

Properties

  Name Description
Public property CanConvertFromString When implemented in a derived class, indicates whether Value can be converted from a string.
Protected property 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.
Public property 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.
Public property HasSubProperties When implemented in a derived class, gets a flag that indicates whether the type of this property supports sub-properties.
Public property IsCollection When implemented in a derived class, gets a flag that indicates whether this PropertyValue is a collection.
Public property IsDefaultValue When implemented in a derived class, gets a flag that indicates whether the Value is the default value for the property.
Public property IsMixedValue When implemented in a derived class, gets a flag that indicates whether multiple objects contain this property and have different values.
Public property ParentProperty Gets the parent PropertyEntry when the property implementation occurs in a host environment.
Public property Source When implemented in a derived class, gets a PropertyValueSource that contains information about where this property value is coming from.
Public property StringValue Gets or sets a Value as a String.
Public property SubProperties When implemented in a derived class, gets a collection of sub-properties as PropertyEntry instances.
Public property Value Gets or sets a property value in the underlying collection of property data.

Top

Events

  Name Description
Public event PropertyChanged Event fired when properties or sub-properties of the PropertyValue object change.
Public event PropertyValueException Event used by host implementations for error handling.
Public event RootValueChanged Event fired when the Value or StringValue property is updated as a result of the PropertyValue value being changed.
Public event SubPropertyChanged Event fired when sub-properties are updated as a result of the PropertyValue being changed.

Top

See Also

Reference

PropertyValue Class

System.Activities.Design.PropertyEditing Namespace