DescriptionAttribute.DescriptionValue Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the string stored as the description.
Assembly: System (in System.dll)
Property Value
Type: System.StringThe string stored as the description. The default value is an empty string ("").
The default implementation of the Description property simply returns this value.
This extra property exists so that you can derive from DescriptionAttribute and provide a localized version. The derived localizable DescriptionAttribute will maintain a private Boolean field to indicate whether it has been localized. On the first access to the Description property, it will look up the localized string and store it back in the DescriptionValue property.