Langue

LayoutAttribute Classe

Définition

Indique que le type de composant associé utilise une disposition spécifiée.

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
Héritage
LayoutAttribute
Attributs

Constructeurs

Nom Description
LayoutAttribute(Type)

Construit un instance de LayoutAttribute.

Propriétés

Nom Description
LayoutType

Type de la disposition. Le type doit implémenter IComponent et doit accepter un paramètre portant le nom « Body ».

S’applique à