RenderWithAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |