BooleanToFlowDirectionConverter Class
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.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Dichiarazione
Public Class BooleanToFlowDirectionConverter _
Inherits ValueConverter(Of Boolean, FlowDirection)
'Utilizzo
Dim instance As BooleanToFlowDirectionConverter
public class BooleanToFlowDirectionConverter : ValueConverter<bool, FlowDirection>
public ref class BooleanToFlowDirectionConverter : public ValueConverter<bool, FlowDirection>
type BooleanToFlowDirectionConverter =
class
inherit ValueConverter<bool, FlowDirection>
end
public class BooleanToFlowDirectionConverter extends ValueConverter<boolean, FlowDirection>
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.PlatformUI.ValueConverter<Boolean, FlowDirection>
Microsoft.VisualStudio.PlatformUI.BooleanToFlowDirectionConverter
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.