ViewLayoutAttribute class¶
Attributes: [AttributeUsage(AttributeTargets.4)] [DebuggerDisplay("ViewLayout: {LayoutType}")]
Defined in
Namespace: ReactiveUI.Avalonia
Assembly: ReactiveUI.Avalonia.dll
Full name: ReactiveUI.Avalonia.ViewLayoutAttribute
Modifiers: public sealed
Summary¶
Declares the layout a LayoutViewHost wraps around a routed view.
Applies to
net11.0, net10.0
Class hierarchy
classDiagram
class ViewLayoutAttribute
class Attribute
Attribute <|-- ViewLayoutAttribute
Inherits from: Attribute
Remarks¶
Apply the attribute to a view or to its view model. An attribute on the view takes precedence.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Declares the layout a [LayoutViewHost](# wraps around a routed view. |
Properties¶
| Name | Summary |
|---|---|
| LayoutType | Gets the layout view type or the layout view model type. |