DescriptionViewer.Description Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the description text displayed by the viewer.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data.Input (in System.Windows.Controls.Data.Input.dll)

Syntax

'Declaration
Public Property Description As String
public string Description { get; set; }
<sdk:DescriptionViewer Description="string"/>

Property Value

Type: System.String
The description text displayed by the viewer.

Remarks

Dependency property identifier field: DescriptionProperty

You use the Description property to set the text of a DescriptionViewer. If the property associated with the DescriptionViewer has a DisplayAttribute and the DisplayAttribute.Description property is not nulla null reference (Nothing in Visual Basic) or an empty string, the DescriptionViewer.Description will be set to the value of the DisplayAttribute.Description property.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.