Partager via


BooleanToFlowDirectionConverter Class

Definition

Converter from a boolean value to a FlowDirection constant. This value is stored in the Main window's data source as a boolean, if it is true it indicates that layout should be Right to Left, and if it is false layout should be Left to Right.

public ref class BooleanToFlowDirectionConverter : Microsoft::VisualStudio::PlatformUI::ValueConverter<bool, System::Windows::FlowDirection>
[Windows::Foundation::Metadata::WebHostHidden]
class BooleanToFlowDirectionConverter : Microsoft::VisualStudio::PlatformUI::ValueConverter<bool, System::Windows::FlowDirection>
public class BooleanToFlowDirectionConverter : Microsoft.VisualStudio.PlatformUI.ValueConverter<bool,System.Windows.FlowDirection>
type BooleanToFlowDirectionConverter = class
    inherit ValueConverter<bool, FlowDirection>
Public Class BooleanToFlowDirectionConverter
Inherits ValueConverter(Of Boolean, FlowDirection)
Inheritance
BooleanToFlowDirectionConverter

Constructors

BooleanToFlowDirectionConverter()

Microsoft internal use only.

Methods

Convert(Boolean, Object, CultureInfo)

Convert a boolean value to a FlowDirection constant.

Convert(Object, Type, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)
Convert(TSource, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)
ConvertBack(Object, Type, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)
ConvertBack(TTarget, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)

Applies to