Microsoft Silverlight will reach end of support after October 2021. Learn more.
Reloads the metadata from the Target element.
Assembly: System.Windows.Controls.Data.Input (in System.Windows.Controls.Data.Input.dll)
'Declaration Public Overridable Sub Refresh
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.