Skip to content

RoutedViewHost.DefaultContentProperty 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<object?> DefaultContentProperty

View source

Summary: Identifies the default content property for the RoutedViewHost control.

Remarks

        Use this in XAML to set or bind the content shown when no view is available for the current view model.