LayoutAttribute Класс

Определение

Указывает, что связанный тип компонента использует указанный макет.

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
Наследование
LayoutAttribute
Атрибуты

Конструкторы

LayoutAttribute(Type)

Создает экземпляр LayoutAttribute.

Свойства

LayoutType

Тип макета. Тип должен реализовывать IComponent и принимать параметр с именем Body.

Применяется к