LayoutAttribute 类 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示关联的组件类型使用指定的布局。
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”的参数。  |