PropertyMap Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the PropertyMap class.
Overloads
PropertyMap() |
Initializes a new instance of the PropertyMap class. |
PropertyMap(Object) |
Initializes a new instance of the PropertyMap class with the given source object. |
PropertyMap()
Initializes a new instance of the PropertyMap class.
public:
PropertyMap();
public PropertyMap ();
Public Sub New ()
See also
- PropertyMap
- PropertyMap
- Property Mapping
- Walkthrough: Mapping Properties Using the ElementHost Control
- Walkthrough: Mapping Properties Using the WindowsFormsHost Element
Applies to
PropertyMap(Object)
Initializes a new instance of the PropertyMap class with the given source object.
public:
PropertyMap(System::Object ^ sourceObject);
public:
PropertyMap(System::Object ^ source);
public PropertyMap (object sourceObject);
public PropertyMap (object source);
new System.Windows.Forms.Integration.PropertyMap : obj -> System.Windows.Forms.Integration.PropertyMap
new System.Windows.Forms.Integration.PropertyMap : obj -> System.Windows.Forms.Integration.PropertyMap
Public Sub New (sourceObject As Object)
Public Sub New (source As Object)
Parameters
- sourceObjectsource
- Object
The object which has the properties to be translated.
Remarks
source
is the source of the properties which are translated by the PropertyMap. The properties which are mapped in the PropertyMap must exist on SourceObject.
PropertyTranslator delegates are called using the current property values on SourceObject.
See also
- PropertyMap
- PropertyMap
- Windows Forms and WPF Property Mapping
- Walkthrough: Mapping Properties Using the ElementHost Control
- Walkthrough: Mapping Properties Using the WindowsFormsHost Element
- Property Mapping
- Walkthrough: Mapping Properties Using the ElementHost Control
- Walkthrough: Mapping Properties Using the WindowsFormsHost Element
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈