RenderModeAttribute 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定组件类型的固定呈现模式。
如果可能,组件不应以这种方式指定任何呈现模式,并且应实现以跨所有呈现模式工作。 仅当组件无法在其他模式下运行时,组件作者才应指定固定呈现模式。
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public abstract class RenderModeAttribute : Attribute[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type RenderModeAttribute = class
    inherit AttributePublic MustInherit Class RenderModeAttribute
Inherits Attribute- 继承
- 
				RenderModeAttribute
- 属性
构造函数
| RenderModeAttribute() | 指定组件类型的固定呈现模式。 如果可能,组件不应以这种方式指定任何呈现模式,并且应实现以跨所有呈现模式工作。 仅当组件无法在其他模式下运行时,组件作者才应指定固定呈现模式。 | 
属性
| Mode | 获取组件类型的固定呈现模式。 |