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' 的參數。

適用於