Skip to content

TableContentSetMethodBindingConverter.GetAffinityForObjects(Type?, Type?) method

Defined in

Type: TableContentSetMethodBindingConverter Namespace: ReactiveUI.Winforms Assembly: ReactiveUI.Winforms.dll

Applies to

net481

public int GetAffinityForObjects(Type? fromType, Type? toType)

View source (opens in a new tab)

Inherited documentation

These docs were inherited from ISetMethodBindingConverter. The member doesn't override them on this type.

Summary: Returns this converter's priority for writing a value of one type to a target of another.

Parameters

NameTypeDescription
fromTypeType? (opens in a new tab)The type of the value being written; may be null.
toTypeType? (opens in a new tab)The type of the target being written to; may be null.

Returns: int (opens in a new tab) -- A positive value when PerformSet applies; zero or less excludes the converter. The registry picks the highest value and, on a tie, the earliest registered converter.