BooleanToFlowDirectionConverter.Convert(Boolean, Object, CultureInfo) Method

Definition

Convert a boolean value to a FlowDirection constant.

protected:
 override System::Windows::FlowDirection Convert(bool value, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
protected override System.Windows.FlowDirection Convert (bool value, object parameter, System.Globalization.CultureInfo culture);
override this.Convert : bool * obj * System.Globalization.CultureInfo -> System.Windows.FlowDirection
Protected Overrides Function Convert (value As Boolean, parameter As Object, culture As CultureInfo) As FlowDirection

Parameters

value
Boolean

Value to convert

parameter
Object

Conversion parameter.

culture
CultureInfo

Culture for conversion.

Returns

FlowDirection.LeftToRight if value is false, FlowDirection.RightToLeft otherwise.

Applies to