Version

ValidationDecorator Class

Element used in the template of a WPF or Silverlight control to display validation error information.
Syntax
'Declaration
 
Public Class ValidationDecorator 
   Inherits System.Windows.Controls.ContentControl
public class ValidationDecorator : System.Windows.Controls.ContentControl 
Remarks

Note: this element detects validation errors of its templated parent. Therefore it can only be used inside the Template of a control.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also