C# Class MarkDownEditor.Converters.BooleanToVisibilityConverter

Inheritance: IValueConverter
ファイルを表示 Open project: chenguanzhou/MarkDownEditor

Public Methods

Method Description
BooleanToVisibilityConverter ( ) : System

Initializes a new instance of the BooleanToVisibilityConverter class.

BooleanToVisibilityConverter ( bool isReversed, bool useHidden ) : System

Initializes a new instance of the BooleanToVisibilityConverter class.

Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Attempts to convert the specified value.

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

Attempts to convert the specified value back.

Method Details

BooleanToVisibilityConverter() public method

Initializes a new instance of the BooleanToVisibilityConverter class.
public BooleanToVisibilityConverter ( ) : System
return System

BooleanToVisibilityConverter() public method

Initializes a new instance of the BooleanToVisibilityConverter class.
public BooleanToVisibilityConverter ( bool isReversed, bool useHidden ) : System
isReversed bool /// Whether the return values should be reversed. ///
useHidden bool /// Whether should be used instead of . ///
return System

Convert() public method

Attempts to convert the specified value.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object /// The value to convert. ///
targetType System.Type /// The type of the binding target property. ///
parameter object /// The converter parameter to use. ///
culture System.Globalization.CultureInfo /// The culture to use in the converter. ///
return object

ConvertBack() public method

Attempts to convert the specified value back.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object /// The value to convert. ///
targetType System.Type /// The type of the binding target property. ///
parameter object /// The converter parameter to use. ///
culture System.Globalization.CultureInfo /// The culture to use in the converter. ///
return object