| IndirectBindingTToBool Method (T, T) | 
 
            Converts this binding to return a nullable boolean binding
            
 
    Namespace: 
   Eto.Forms
    Assembly:
   Eto (in Eto.dll) Version: 2.5.3-dev
 Syntax
Syntaxpublic IndirectBinding<Nullable<bool>> ToBool(
	T trueValue,
	T falseValue
)
Public Function ToBool ( 
	trueValue As T,
	falseValue As T
) As IndirectBinding(Of Nullable(Of Boolean))
member ToBool : 
        trueValue : 'T * 
        falseValue : 'T -> IndirectBinding<Nullable<bool>> 
Parameters
- trueValue
- Type: T
 Value when the binding is true.
- falseValue
- Type: T
 Value when the binding is false.
Return Value
Type: 
IndirectBindingNullableBooleanBoolean binding.
 Remarks
Remarks
            This is useful when converting a binding to be used for a checkbox's Checked binding for example.
            When the binding's value matches the trueValue, it will return true.
            
 See Also
See Also