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