System.Web.UI.WebControls Namespace WebControl Class
Copies the AccessKey, Enabled, ToolTip, TabIndex, and Attributes properties onto the Web control from the specified source control.
This method is primarily used by control developers.
[ VB ]
Public Sub CopyBaseAttributes ( _
ByVal controlSrc As WebControl _
)
[ C# ]
public void CopyBaseAttributes (
WebControl controlSrc
);
[ C++ ]
public: void CopyBaseAttributes (
WebControl* controlSrc
);
[ JScript ]
public function CopyBaseAttributes (
controlSrc : WebControl
);
- controlSrc
- The source control with properties to be copied onto the Web control.
WebControl Members