The presence of this attribute on a property of a subclass of TargetControlPropertiesBase indicates that the property value is required and the control can not be used without it. Absence of a required property value causes an exception to be thrown during creation of the control.

Namespace:  AjaxControlToolkit
Assembly:  AjaxControlToolkit (in AjaxControlToolkit.dll) Version: 1.0.10920.38393 (1.0.10920.0)

Syntax

C#
public sealed class RequiredPropertyAttribute : Attribute
Visual Basic (Declaration)
Public NotInheritable Class RequiredPropertyAttribute _
	Inherits Attribute
Visual C++
public ref class RequiredPropertyAttribute sealed : public Attribute

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    AjaxControlToolkit..::.RequiredPropertyAttribute

See Also