Header menu logo Navs

AValExtensions Type

dotnet interop friendly API for adaptive and changeable data

Static members

Static member Description

AValExtensions.getValue adaptiveValue

Full Usage: AValExtensions.getValue adaptiveValue

Parameters:
    adaptiveValue : aval<'Value>

Returns: 'Value
Modifiers: inline
Type parameters: 'Value

Get the value of an adaptive value by forcing it

adaptiveValue : aval<'Value>
Returns: 'Value

AValExtensions.setValue (adaptiveValue, setValue)

Full Usage: AValExtensions.setValue (adaptiveValue, setValue)

Parameters:
    adaptiveValue : cval<'Value>
    setValue : Func<'Value, 'Value>

Modifiers: inline
Type parameters: 'Value
adaptiveValue : cval<'Value>
setValue : Func<'Value, 'Value>

AValExtensions.setValue (adaptiveValue, value)

Full Usage: AValExtensions.setValue (adaptiveValue, value)

Parameters:
    adaptiveValue : cval<'Value>
    value : 'Value

Modifiers: inline
Type parameters: 'Value

sets up a transaction and sets the value of a changeable value

adaptiveValue : cval<'Value>
value : 'Value

AValExtensions.toBinding value

Full Usage: AValExtensions.toBinding value

Parameters:
    value : cval<'Value>

Returns: IBinding
Modifiers: inline
Type parameters: 'Value

Creates a two-way binding from a changeable value which can be bound to Avalonia properties.

This binding is read-write and can be used to bind to properties that support two-way binding. If you're looking to just use a readonly binding, use the `toBinding` method with an aval instead.

value : cval<'Value>
Returns: IBinding

AValExtensions.toBinding value

Full Usage: AValExtensions.toBinding value

Parameters:
    value : aval<'Value>

Returns: IBinding
Modifiers: inline
Type parameters: 'Value

Creates a one-way binding from an adaptive value which can be bound to Avalonia properties.

value : aval<'Value>
Returns: IBinding

Type something to start searching.