BindableExtensions.Inverse<T> Method (BindableBinding<T, Nullable<Boolean>>) |
Gets a bindable binding with the inverse of the specified boolean value binding.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntaxpublic static BindableBinding<T, Nullable<bool>> Inverse<T>(
this BindableBinding<T, Nullable<bool>> binding
)
where T : IBindable
<ExtensionAttribute>
Public Shared Function Inverse(Of T As IBindable) (
binding As BindableBinding(Of T, Nullable(Of Boolean))
) As BindableBinding(Of T, Nullable(Of Boolean))
[<ExtensionAttribute>]
static member Inverse :
binding : BindableBinding<'T, Nullable<bool>> -> BindableBinding<'T, Nullable<bool>> when 'T : IBindable
Parameters
- binding
- Type: Eto.Forms.BindableBinding<T, Nullable<Boolean>>
Binding to invert.
Type Parameters
- T
- The type of the bindable object.
Return Value
Type:
BindableBinding<T,
Nullable<Boolean>>A new binding to the inverse value.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
BindableBinding<T,
Nullable<Boolean>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also