Click or drag to resize

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
)

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
This function supported follow objects:

WPF objects: Button, CheckBox, RadioButton, TextBlock and Label

SOWI controls: EditTextBox, EditCheckBox, EditComboBox and EditComboBoxImage

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