Partager via


IsWarningToTextConverter Class

The IsWarningToTextConverter converts a Boolean to a warning or error display string.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Converters
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Public Class IsWarningToTextConverter _
    Implements IValueConverter
public class IsWarningToTextConverter : IValueConverter
public ref class IsWarningToTextConverter : IValueConverter
public class IsWarningToTextConverter implements IValueConverter

Remarks

This converter is used in the display of ValidationResult to display an appropriate string indicating a validation error or warning.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Converters.IsWarningToTextConverter

See Also

IsWarningToTextConverter Members

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Converters Namespace