PropertyTranslator Delegate
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.
Provides a translation function for a mapped property of the host control.
public delegate void PropertyTranslator(System::Object ^ host, System::String ^ propertyName, System::Object ^ value);
public delegate void PropertyTranslator(object host, string propertyName, object value);
type PropertyTranslator = delegate of obj * string * obj -> unit
Public Delegate Sub PropertyTranslator(host As Object, propertyName As String, value As Object)
Parameters
- host
- Object
The host control whose property is being mapped. The host control is either a WindowsFormsHost or an ElementHost.
- propertyName
- String
The name of the property being translated.
- value
- Object
The new value of the property.
Remarks
The PropertyTranslator delegate is used by the PropertyMap class to implement property mapping between Windows Forms and WPF. For more information, see Windows Forms and WPF Property Mapping.
Extension Methods
GetMethodInfo(Delegate) |
Gets an object that represents the method represented by the specified delegate. |
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應