Skip to content

VisibilityToBooleanTypeConverter.GetAffinityForObjects() method

Defined in

Type: VisibilityToBooleanTypeConverter Namespace: ReactiveUI Assembly: ReactiveUI.WinUI.dll

Applies to

net10.0-windows10.0.19041

public override int GetAffinityForObjects()

View source

Inherited documentation

These docs were inherited from BindingTypeConverter<Visibility, bool>. The member doesn't override them on this type.

Summary: Returns this converter's priority among the converters registered for the same type pair.

Returns: int -- A positive value when the converter applies; zero or less excludes it. The highest value wins and the earliest registered converter wins a tie. The built-in converters return 2, and EqualityTypeConverter returns 1, so a larger value outranks them.