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; }
[<System.ComponentModel.Browsable(false)>]
member this.HasAttributes : bool
Public ReadOnly Property HasAttributes As Boolean

Property Value

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

Attributes

Remarks

The HasAttributes property returns true when the WebControl instance has attribute name/value pairs.

Applies to

See also