BooleanToVisibilityTypeConverter.GetAffinityForObjects() method¶
Defined in
Type: BooleanToVisibilityTypeConverter
Namespace: ReactiveUI
Assembly: ReactiveUI.WinUI.dll
Applies to
net10.0-windows10.0.19041
public override int GetAffinityForObjects()
Inherited documentation
These docs were inherited from BindingTypeConverter<bool, Visibility>. 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.