Table of Contents

Class LocalizedLabelAttribute

Attach this attribute to a field to make it a localized label.

public class LocalizedLabelAttribute : PropertyAttribute
Inheritance
LocalizedLabelAttribute
Extension Methods

Constructors

LocalizedLabelAttribute()

public LocalizedLabelAttribute()

Properties

Key

The key of the localized label.

public string Key { get; set; }

Property Value

string

Remarks

If not provided, the namespace, type name and field name will be used as key.

TooltipKey

The key of the localized tooltip.

public string TooltipKey { get; set; }

Property Value

string

Remarks

If not provided, it will defaults to {Key}:tooltip.