CompositeControlBaseCopyStyle Method (WebControl, String) |
Copy the specified style element from this control's Style collection to the
specified control's Style collection.
The purpose of this is to allow derived composites to move copy elements from the
composite control to one or more of the contained controls.
Namespace:
NetQuarry.WebControls
Assembly:
EAP.WebControls (in EAP.WebControls.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax protected void CopyStyle(
WebControl ctrl,
string name
)
Protected Sub CopyStyle (
ctrl As WebControl,
name As String
)
Parameters
- ctrl
- Type: System.Web.UI.WebControlsWebControl
The control to which to copy the style elements. - name
- Type: SystemString
The style name of the item to copy.
See Also