LanguageIsPropertyLocalizable Method
Gets whether a property is localizable. By default, a property is not localizable unless it is marked so by
LocalizableAttribute.
Namespace: KGySoft.Libraries.LanguageAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public static bool IsPropertyLocalizable(
Object obj,
string propertyName
)
Public Shared Function IsPropertyLocalizable (
obj As Object,
propertyName As String
) As Boolean
public:
static bool IsPropertyLocalizable(
Object^ obj,
String^ propertyName
)
static member IsPropertyLocalizable :
obj : Object *
propertyName : string -> bool
- obj Object
- The object to check.
- propertyName String
- The property of the specified object to check.
Boolean, if the property is localizable; otherwise,
.
A property is not considered localizable by default, because here only properties decorated by
LocalizableAttribute should be checked.