BooleanToFlowDirectionConverter.Convert(Boolean, Object, CultureInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.