ViewComponentContextAttribute Třída

Definice

Určuje, že vlastnost kontroleru by měla být nastavena s aktuální ViewComponentContext při vytváření komponenty zobrazení. Vlastnost musí mít metodu veřejné sady.

public ref class ViewComponentContextAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class ViewComponentContextAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type ViewComponentContextAttribute = class
    inherit Attribute
Public Class ViewComponentContextAttribute
Inherits Attribute
Dědičnost
ViewComponentContextAttribute
Atributy

Konstruktory

ViewComponentContextAttribute()

Platí pro