Skip to main content
All docs
V21.2

SnapLocalizer Members

Provides the means to localize the user interface elements of a Snap application.

Constructors

Name Description
SnapLocalizer() Initializes a new instance of the SnapLocalizer class with default settings.

Properties

Name Description
Active static Specifies a localizer object providing localization of a Snap application at runtime.
Language Returns the name of the language currently used by this localizer object. Inherited from XtraLocalizer<T>.

Methods

Name Description
CreateDefaultLocalizer() static Returns a Localizer object storing resources based on the thread’s language and regional settings (culture).
CreateResXLocalizer() For internal use.
CreateXmlDocument() Creates an XML document, which contains resource strings provided by the current XtraLocalizer<T> object. Inherited from XtraLocalizer<T>.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetActiveLocalizerProvider() static Returns an active localizer provider for this XtraLocalizer<T> object. Inherited from XtraLocalizer<T>.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLocalizedString(T) Gets the string, localized by the current XtraLocalizer<T>, for the specified user interface element. Inherited from XtraLocalizer<T>.
GetString(SnapStringId) static Returns a localized string for the given string identifier.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
RaiseActiveChanged() static Raises the XtraLocalizer<T>.ActiveChanged event. Inherited from XtraLocalizer<T>.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SetActiveLocalizerProvider(ActiveLocalizerProvider<T>) static Sets an active localizer provider for this XtraLocalizer<T> object. Inherited from XtraLocalizer<T>.
ToString() Returns a string that represents the current object. Inherited from Object.
WriteToXml(String) Saves the current XtraLocalizer<T>‘s resources to the specified XML file. Inherited from XtraLocalizer<T>.

Events

Name Description
ActiveChanged static Fires immediately after the XtraLocalizer<T>.Active property value has been changed. Inherited from XtraLocalizer<T>.
See Also