LanguageIsPropertyLocalizable Method

Gets whether a property is localizable. By default, a property is not localizable unless it is marked so by LocalizableAttribute.

Definition

Namespace: KGySoft.Libraries.Language
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
public static bool IsPropertyLocalizable(
	Object obj,
	string propertyName
)

Parameters

obj  Object
The object to check.
propertyName  String
The property of the specified object to check.

Return Value

Boolean
, if the property is localizable; otherwise, .

Remarks

A property is not considered localizable by default, because here only properties decorated by LocalizableAttribute should be checked.

See Also