ViewLayoutAttribute(Type) constructor¶
Defined in
Type: ViewLayoutAttribute
Namespace: ReactiveUI.Avalonia.Reactive
Assembly: ReactiveUI.Avalonia.Reactive.dll
Applies to
net11.0, net10.0
public ViewLayoutAttribute(Type layoutType)
Summary: Declares the layout a LayoutViewHost wraps around a routed view.
Parameters
| Name | Type | Description |
|---|---|---|
layoutType | Type | The layout view type, which must derive from ContentControl, or the type of the layout's view model. |
Remarks
Apply the attribute to a view or to its view model. An attribute on the view takes precedence.