Skip to content

ViewModelViewHost.ViewContract property

Defined in

Type: ViewModelViewHost Namespace: ReactiveUI.Reactive.Maui Assembly: ReactiveUI.Maui.Reactive.dll

Applies to

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

public string? ViewContract { get; set; }

View source

Summary: Gets or sets the fixed contract to use when resolving the view for the given view model.

Returns: string?

Remarks

        This property is a mere convenience so that a fixed contract can be assigned directly in XAML.