BytecodeApi Documentation

BooleanConverterMethod Enumeration

Specifies the method that is used to convert Boolean? values.

Namespace:  BytecodeApi.UI.Converters
Assembly:  BytecodeApi.UI (in BytecodeApi.UI.dll)

Syntax


public enum BooleanConverterMethod
Public Enumeration BooleanConverterMethod
public enum class BooleanConverterMethod

Members


Member nameDescription
Default Returns the original Boolean? value.
Inverse Returns trueTruetruetrue (True in Visual Basic), if the Boolean? value is falseFalsefalsefalse (False in Visual Basic) or nullNothingnullptra null reference (Nothing in Visual Basic); otherwise, falseFalsefalsefalse (False in Visual Basic).
Visibility Returns Visible, if the Boolean? value is trueTruetruetrue (True in Visual Basic); otherwise, Collapsed.
VisibilityInverse Returns Collapsed, if the Boolean? value is trueTruetruetrue (True in Visual Basic); otherwise, Visible.
VisibilityHidden Returns Visible, if the Boolean? value is trueTruetruetrue (True in Visual Basic); otherwise, Hidden.
VisibilityHiddenInverse Returns Hidden, if the Boolean? value is trueTruetruetrue (True in Visual Basic); otherwise, Visible.
GridLengthZeroAuto Returns Auto, if the Boolean? value is trueTruetruetrue (True in Visual Basic); otherwise, newGridLength(0).
GridLengthZeroAutoInverse Returns newGridLength(0), if the Boolean? value is trueTruetruetrue (True in Visual Basic); otherwise, Auto.
GridLengthZeroStar Returns newGridLength(1, Star), if the Boolean? value is trueTruetruetrue (True in Visual Basic); otherwise, newGridLength(0).
GridLengthZeroStarInverse Returns newGridLength(0), if the Boolean? value is trueTruetruetrue (True in Visual Basic); otherwise, newGridLength(1, Star).