WebControl.HasAttributes WebControl.HasAttributes WebControl.HasAttributes WebControl.HasAttributes Property

Definition

Gets a value indicating whether the control has attributes set.

public:
 property bool HasAttributes { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool HasAttributes { get; }
member this.HasAttributes : bool
Public ReadOnly Property HasAttributes As Boolean
Property Value

true if the control has attributes set; otherwise, false.

Remarks

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

Applies to

See Also