Share via


RenderModeAttribute Class

Definition

Specifies a fixed rendering mode for a component type.

Where possible, components should not specify any render mode this way, and should be implemented to work across all render modes. Component authors should only specify a fixed rendering mode when the component is incapable of running in other modes.

[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 Attribute
Public MustInherit Class RenderModeAttribute
Inherits Attribute
Inheritance
RenderModeAttribute
Attributes

Constructors

RenderModeAttribute()

Properties

Mode

Gets the fixed rendering mode for a component type.

Applies to