.NET Framework Class Library TableRow..::.SupportsDisabledAttribute Property Gets a value that indicates whether the control should set the disabled attribute of the rendered HTML element to "disabled" when the control's IsEnabled property is false.
Namespace:
System.Web.UI.WebControls
Assembly:
System.Web (in System.Web.dll)

Syntax
Public Overrides ReadOnly Property SupportsDisabledAttribute As Boolean
Get
public override bool SupportsDisabledAttribute { get; }
public:
virtual property bool SupportsDisabledAttribute {
bool get () override;
}
abstract SupportsDisabledAttribute : bool
override SupportsDisabledAttribute : bool

Remarks
This property indicates how ASP.NET should render HTML for a control when the control is disabled. If this property is true, ASP.NET renders a disabled attribute when a control is disabled. If this property is false, ASP.NET renders a class attribute when a control is disabled. For more information, see WebControl..::.SupportsDisabledAttribute.

Version Information
.NET FrameworkSupported in: 4

Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

See Also
|
Bibliothèque de classes .NET Framework TableRow..::.SupportsDisabledAttribute, propriété Obtient une valeur qui indique si le contrôle doit affecter à l'attribut disabled de l'élément HTML rendu la valeur "disabled" lorsque la propriété IsEnabled du contrôle a la valeur false.
Espace de noms :
System.Web.UI.WebControls
Assembly :
System.Web (dans System.Web.dll)

Syntaxe
Public Overrides ReadOnly Property SupportsDisabledAttribute As Boolean
Get
public override bool SupportsDisabledAttribute { get; }
public:
virtual property bool SupportsDisabledAttribute {
bool get () override;
}
abstract SupportsDisabledAttribute : bool
override SupportsDisabledAttribute : bool

Notes
Cette propriété indique comment ASP.NET doit restituer du code HTML pour un contrôle lorsque le contrôle est désactivé. Si cette propriété est true, ASP.NET restitue un attribut disabled lorsqu'un contrôle est désactivé. Si cette propriété est false, ASP.NET restitue un attribut class lorsqu'un contrôle est désactivé. Pour plus d'informations, consultez WebControl..::.SupportsDisabledAttribute.

Informations de version
.NET FrameworkPris en charge dans : 4

Plateformes
Windows 7, Windows Vista SP1 ou ultérieur, Windows XP SP3, Windows Server 2008 (installation minimale non prise en charge), Windows Server 2008 R2 (installation minimale prise en charge avec SP1 ou version ultérieure), Windows Server 2003 SP2
Le .NET Framework ne prend pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.

Voir aussi
RéférenceAutres ressources
|