ConvertBooleanToVisibility
function ConvertBooleanToVisibility(value: boolean, falseValue: 'Hidden' | 'Collapsed' = 'Hidden'): Visibility
The function ConvertBooleanToVisibility converts a Boolean value to a value of the enumerator "Visibility".
Parameter
Name | Type | Description |
---|---|---|
value | The Boolean value to be converted. Only a binding makes sense at this point. | |
falseValue | The value specified as falseValue depending on the transferred Boolean value. |
Return value
Type | Description |
---|---|
The visibility depending on the Boolean value. |
NuGet package: Beckhoff.TwinCAT.HMI.Functions
![]() | NuGet packages are available from version 1.12. |
![]() | Available from 1.8 |