DictionaryUITranslate Method | |
Translate WPF objects and his sub objects
Namespace:
SOWIWin.Helper
Assembly:
SOWIWin.Helper (in SOWIWin.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax public static void Translate(
ref DependencyObject pObject,
Dictionary<string, string> pDictionaryUI
)
Public Shared Sub Translate (
ByRef pObject As DependencyObject,
pDictionaryUI As Dictionary(Of String, String)
)
Parameters
- pObject
- Type: System.WindowsDependencyObject
Represents an object that participates in the dependency property system. - pDictionaryUI
- Type: System.Collections.GenericDictionaryString, String
Dictionary for user interface translate
Remarks Examples
This example called from a WPF page object. The first content object is a type of Grid object.
var lObject = (DependencyObject)this.Content;
Translate(ref lObject, DictionaryUI);
See Also