LanguageMarkLocalizable Method

Makes translation enabled or disabled for given objects.

Definition

Namespace: KGySoft.Libraries.Language
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
public static void MarkLocalizable(
	bool translationEnabled,
	params Object[] objects
)

Parameters

translationEnabled  Boolean
True if translation is enabled for the object, otherwise, false.
objects  Object
The objects that are subjects of translation marking.

Remarks

  Note

"Unmarking" objects is not necessary, because this method creates weak references to the marked objects. In other words, using this method does not disturb garbage collection and causes no memory leak.

See Also