C# Class SilverFlow.Controls.Converters.BooleanToVisibilityConverter

Inheritance: IValueConverter
显示文件 Open project: Zoomicon/ZUI

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, System culture ) : object

Converts a boolean value to the display state of an element.

ConvertBack ( object value, Type targetType, object parameter, System culture ) : object

Method Details

Convert() public method

Converts a boolean value to the display state of an element.
public Convert ( object value, Type targetType, object parameter, System culture ) : object
value object The source data being passed to the target.
targetType System.Type The of data expected by the target dependency property.
parameter object An optional parameter to be used in the converter logic.
culture System The culture of the conversion.
return object

ConvertBack() public method

public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object
targetType System.Type
parameter object
culture System
return object