Class LocalizedValue
- Namespace
- TimeCockpit.Data.Localization
- Assembly
- TimeCockpit.Data.dll
Represents a localized value for a given culture
public class LocalizedValue : INotifyPropertyChanged
- Inheritance
-
ObjectLocalizedValue
- Implements
-
INotifyPropertyChanged
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
LocalizedValue(EntityObject, TextProperty)
Initializes a new instance of the LocalizedValue class.
public LocalizedValue(EntityObject entityObject, TextProperty txtProperty)
Parameters
entityObjectEntityObjectThe entity object.
txtPropertyTextPropertyThe parent instance of TextProperty.
Properties
Culture
Gets or sets the culture for which a value should be localized.
public Culture Culture { get; set; }
Property Value
EntityObject
Gets the entity object to which the instance of LocalizedValueCollection belongs to.
public EntityObject EntityObject { get; }
Property Value
Value
Gets or sets the localized value for TimeCockpit.Data.Localization.LocalizedValue.culture.
public string Value { get; set; }
Property Value
- String
Methods
OnPropertyChanged(String)
notifies the PropertyChanged listener.
protected void OnPropertyChanged(string propertyName)
Parameters
propertyNameStringthe name of the property that changed.
Events
PropertyChanged
event for System.ComponentModel.INotifyPropertyChanged callbacks.
public event PropertyChangedEventHandler PropertyChanged
Event Type
- PropertyChangedEventHandler