Skip to content

BooleanToVisibilityTypeConverter.GetAffinityForObjects() method

Defined in

Type: BooleanToVisibilityTypeConverter Namespace: ReactiveUI.Maui Assembly: ReactiveUI.Maui.dll

Applies to

net10.0, net10.0-ios26.0, net10.0-maccatalyst26.0, net10.0-android36.0, net10.0-tvos26.0, net10.0-macos26.0, net10.0-windows10.0.19041

public override int GetAffinityForObjects()

View source

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.