This topic has not yet been rated - Rate this topic

PropertyMap Members

Provides a way to translate property values between Windows Forms controls and Windows Presentation Foundation (WPF) elements. 

The PropertyMap type exposes the following members.

  NameDescription
Public method PropertyMap Overloaded. Initializes a new instance of the PropertyMap class.
Top
  NameDescription
Public method Add Adds a PropertyTranslator delegate for the given property to the PropertyMap.
Public method Apply Runs the property translator for the given property, based on the source object's current property value.
Public method ApplyAll Runs the property translator for each mapped property, based on the source object's current property values.
Public method Clear Removes all property mappings.
Public method Contains Gets a value indicating whether the given property is mapped.
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 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Deletes the given property from the mapping.
Public method Reset Restores the default property mapping for the given property.
Public method ResetAll Restores the default property mappings.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  NameDescription
Protected property DefaultTranslators Gets a collection of property mappings which are defined by default.
Public property Item Gets or sets the PropertyTranslator delegate for the given property.
Public property Keys Gets an ICollection object containing the property names in the PropertyMap collection.
Protected property SourceObject Gets the object which has the properties to be translated.
Public property Values Gets an ICollection containing the property translators in the PropertyMap collection.
Top
  NameDescription
Public event PropertyMappingError Occurs when an exception is raised by a property translator.
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.