C# Class WpfConverters.ConvertBoolToVisibility

Converts a boolean value to a visibility, where a value of true --> Visible. In case the ConverterParameter = false, it is the reverse, i.e. a value of true --> Collapsed.
Inheritance: System.Windows.Markup.MarkupExtension, IValueConverter
Show file Open project: TNOCS/csTouch Class Usage Examples

Public Methods

Method Description
Convert ( object pValue, Type pTargetType, object pParameter, CultureInfo pCulture ) : object
ConvertBack ( object pValue, Type pTargetType, object pParameter, CultureInfo pCulture ) : object
ProvideValue ( IServiceProvider serviceProvider ) : object

Method Details

Convert() public method

public Convert ( object pValue, Type pTargetType, object pParameter, CultureInfo pCulture ) : object
pValue object
pTargetType System.Type
pParameter object
pCulture System.Globalization.CultureInfo
return object

ConvertBack() public method

public ConvertBack ( object pValue, Type pTargetType, object pParameter, CultureInfo pCulture ) : object
pValue object
pTargetType System.Type
pParameter object
pCulture System.Globalization.CultureInfo
return object

ProvideValue() public method

public ProvideValue ( IServiceProvider serviceProvider ) : object
serviceProvider IServiceProvider
return object