DescriptionViewer.Description Property


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)

public string Description { get; set; }
<sdk:DescriptionViewer Description="string"/>

Property Value

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

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 null or an empty string, the DescriptionViewer.Description will be set to the value of the DisplayAttribute.Description property.


Supported in: 5, 4, 3

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

Community Additions