System.Web.UI.WebControls.WebControl.HasAttributes Property

Gets a value indicating whether the control has attributes set.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public bool HasAttributes { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The WebControl.HasAttributes property returns true when the System.Web.UI.WebControls.WebControl instance has attribute name/value pairs. The attribute pairs can be set either in the property or in the view state.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0