LayoutAttribute Class

Definition

Indicates that the associated component type uses a specified layout.

public ref class LayoutAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public sealed class LayoutAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type LayoutAttribute = class
    inherit Attribute
Public NotInheritable Class LayoutAttribute
Inherits Attribute
Inheritance
LayoutAttribute
Attributes

Constructors

LayoutAttribute(Type)

Constructs an instance of LayoutAttribute.

Properties

LayoutType

The type of the layout. The type must implement IComponent and must accept a parameter with the name 'Body'.

Applies to