HypernovaDesktop Components · docs
Binarymission
WPFExtended Scroll Viewer › OverlaySetupConverter

OverlaySetupConverter

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Scrollers

Turns the overlay flag into a span: two cells when the scroll bars are drawn on top of the content, one when they take a track of their own beside it.

public class OverlaySetupConverter : IValueConverter

Inherits from / implements: IValueConverter

Members at a glance

ConvertPerforms the conversion this converter exists for, as described on OverlaySetupConverter.
ConvertBackConverts back towards the binding source. This conversion is one-way, so it yields no usable value.

Methods

Convert

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

Performs the conversion this converter exists for, as described on OverlaySetupConverter.

value
The value produced by the binding source.
targetType
The type the binding target expects.
parameter
The converter parameter given in the binding.
culture
The culture to use for the conversion.

Returns. The converted value.

ConvertBack

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

Converts back towards the binding source. This conversion is one-way, so it yields no usable value.

value
The value produced by the binding source.
targetType
The type the binding target expects.
parameter
The converter parameter given in the binding.
culture
The culture to use for the conversion.

Returns. No usable value.