Skip to content

ViewLayoutAttribute class

Attributes: [AttributeUsage(AttributeTargets.4)] [DebuggerDisplay("ViewLayout: {LayoutType}")]

Defined in

Namespace: ReactiveUI.Avalonia.Reactive Assembly: ReactiveUI.Avalonia.Reactive.dll Full name: ReactiveUI.Avalonia.Reactive.ViewLayoutAttribute Modifiers: public sealed

Summary

View source

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

NameSummary
.ctorDeclares the layout a [LayoutViewHost](# wraps around a routed view.

Properties

NameSummary
LayoutTypeGets the layout view type or the layout view model type.
Inherited members