Share via


RenderWithAttribute Class

Definition

Specifies the renderer type to use for a control.

public ref class RenderWithAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class RenderWithAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type RenderWithAttribute = class
    inherit Attribute
Public NotInheritable Class RenderWithAttribute
Inherits Attribute
Inheritance
RenderWithAttribute
Attributes

Remarks

Lazily assoicate a view with it's renderer.

Constructors

Name Description
RenderWithAttribute(Type, Type[])

Creates a new RenderWithAttribute with the specified renderer type and supported visuals.

RenderWithAttribute(Type)

Creates a new RenderWithAttribute with the specified renderer type.

Properties

Name Description
SupportedVisuals

Gets the visual types supported by this renderer.

Type

Gets the renderer type.

Applies to