Share via


PropertyValue Members

Include Protected Members
Include Inherited Members

Represents the value of a property.

The PropertyValue type exposes the following members.

Constructors

 

Name

Description

Protected method

PropertyValue

Initializes a new instance of the PropertyValue class.

Top

Methods

 

Name

Description

Public method

ClearValue

When overridden in a derived class, clears the value so that it is not set.

Protected method

ConvertStringToValue

When overridden in a derived class, attempts to convert the specified String to an Object.

Protected method

ConvertValueToString

When overridden in a derived class, attempts to convert the specified Object to a String.

Public method

Equals

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

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it 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 overridden in a derived class, returns the Object that should be returned by the Value property.

Protected method

MemberwiseClone

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

Protected method

NotifyRootValueChanged

Raises the RootValueChanged event.

Protected method

NotifySubPropertyChanged

Raises the SubPropertyChanged event.

Protected method

OnPropertyChanged

Overloaded. Raises the PropertyChanged event.

Protected method

OnPropertyValueException

Raises the PropertyValueException event.

Protected method

SetValueCore

When overridden in a derived class, sets the Value property to the specified Object.

Public method

ToString

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

Protected method

ValidateValue

When overridden in a derived class, checks that the specified Object contains a valid value before setting the Value property to it.

Top

Properties

 

Name

Description

Public property

CanConvertFromString

When overridden in a derived class, gets a value indicating whether Value can be converted from a string.

Protected property

CatchExceptions

Gets a value indicating how to handle exceptions that occur during the get and set methods of the Value and StringValue properties.

Public property

Collection

When overridden in a derived class, gets a PropertyValueCollection of objects that represents the value of the PropertyValue.

Public property

HasSubProperties

When overridden in a derived class, gets a value indicating whether this property value supports sub-properties.

Public property

IsCollection

When overridden in a derived class, gets a value indicating whether this PropertyValue is a collection.

Public property

IsDefaultValue

When overridden in a derived class, gets a value indicating whether the current Value is the default value for the property.

Public property

IsMixedValue

When overridden in a derived class, gets a value indicating whether this property value represents a property for multiple objects that have more than one value.

Public property

ParentProperty

Gets the parent of this PropertyValue.

Public property

Source

When overridden in a derived class, gets a PropertyValueSource that contains information about the source of this property value.

Public property

StringValue

Gets or sets the value of this PropertyValue as a String.

Public property

SubProperties

When overridden in a derived class, gets the sub-properties of this property value.

Public property

Value

Gets or sets the value of this PropertyValue.

Top

Events

 

Name

Description

Public event

PropertyChanged

Represents the method that handles the PropertyChanged event of the PropertyValue.

Public event

PropertyValueException

Represents the method that handles the PropertyValueException event of the PropertyValue.

Public event

RootValueChanged

Represents the method that handles the RootValueChanged event of the PropertyValue.

Public event

SubPropertyChanged

Represents the method that handles the SubPropertyChanged event of the PropertyValue.

Top

See Also

Reference

PropertyValue Class

Microsoft.Windows.Design.PropertyEditing Namespace