PropertyMap Members
.NET Framework 3.5
Provides a way to translate property values between Windows Forms controls and Windows Presentation Foundation (WPF) elements.
The PropertyMap type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add | Adds a PropertyTranslator delegate for the given property to the PropertyMap. |
|
Apply | Runs the property translator for the given property, based on the source object's current property value. |
|
ApplyAll | Runs the property translator for each mapped property, based on the source object's current property values. |
|
Clear | Removes all property mappings. |
|
Contains | Gets a value indicating whether the given property is mapped. |
|
Equals | 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.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Remove | Deletes the given property from the mapping. |
|
Reset | Restores the default property mapping for the given property. |
|
ResetAll | Restores the default property mappings. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
DefaultTranslators | Gets a collection of property mappings which are defined by default. |
|
Item | Gets or sets the PropertyTranslator delegate for the given property. |
|
Keys | Gets an ICollection object containing the property names in the PropertyMap collection. |
|
SourceObject | Gets the object which has the properties to be translated. |
|
Values | Gets an ICollection containing the property translators in the PropertyMap collection. |
| Name | Description | |
|---|---|---|
|
PropertyMappingError | Occurs when an exception is raised by a property translator. |