Skip to content

RoutedViewHost.ViewContractProperty field

Defined in

Type: RoutedViewHost Namespace: ReactiveUI.Avalonia.Reactive Assembly: ReactiveUI.Avalonia.Reactive.dll

Applies to

net10.0, net9.0, net8.0

public static readonly StyledProperty<string?> ViewContractProperty

View source

Summary: Identifies the ViewContract styled property used to resolve views in the routed view host.

Remarks

        The contract distinguishes multiple views registered for the same view-model type. A null contract selects the
        default view.