Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DescriptionViewer.Refresh Method


Reloads the metadata from the Target element.

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

public virtual void Refresh()

This method reloads the metadata from the Target of the DescriptionViewer. It is called automatically when the Target property is set or changed. It is also called if the DataContext of the Target control changes from one type to another type.

When Refresh is called, the following properties are reset to the values in the metadata: Description and IsValid. Because Refresh reloads values from metadata, property values that you have set in XAML or in code might change if the values in metadata differ from those you set.


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

© 2015 Microsoft