BooleanToVisibilityConverter

StockSharp.Xaml.Charting

Converts to Visibility.Collapsed if input value is null by default. Can be used with "Inverse" flag

実装: IValueConverter

メソッド

Convert(object, Type, object, CultureInfo) : object

Modifies the source data before passing it to the target for display in the UI.

value
The source data being passed to the target.
targetType
The Type of data expected by the target dependency property.
parameter
An optional parameter to be used in the converter logic.
culture
The culture of the conversion.

戻り値: The value to be passed to the target dependency property.

ConvertBack(object, Type, object, CultureInfo) : object

Modifies the target data before passing it to the source object. This method is called only in TwoWay bindings.

value
The target data being passed to the source.
targetType
The Type of data expected by the source object.
parameter
An optional parameter to be used in the converter logic.
culture
The culture of the conversion.

戻り値: The value to be passed to the source object.