Table of Contents

Class LocalizedValue

Namespace
TimeCockpit.Data.Localization
Assembly
TimeCockpit.Data.dll

Represents a localized value for a given culture

public class LocalizedValue : INotifyPropertyChanged
Inheritance
Object
LocalizedValue
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

entityObject EntityObject

The entity object.

txtProperty TextProperty

The 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

Culture

EntityObject

Gets the entity object to which the instance of LocalizedValueCollection belongs to.

public EntityObject EntityObject { get; }

Property Value

EntityObject

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

propertyName String

the name of the property that changed.

Events

PropertyChanged

event for System.ComponentModel.INotifyPropertyChanged callbacks.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler