TogglerB Constructor (WebControl, Boolean, String) |
Constructor taking the live associated control and its initial state.
When a live associated control is provided, its ClientID will be obtained during
PreRender, and its open/closed state will be set by the toggler at that time.
Note that the optional caption will be escaped for HTML.
Namespace:
NetQuarry.WebControls
Assembly:
EAP.WebControls (in EAP.WebControls.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public TogglerB(
WebControl associatedControl,
bool open,
string caption = null
)
Public Sub New (
associatedControl As WebControl,
open As Boolean,
Optional caption As String = Nothing
)
Parameters
- associatedControl
- Type: System.Web.UI.WebControlsWebControl
The associated control object. - open
- Type: SystemBoolean
Specifies the initial state of the toggler. - caption (Optional)
- Type: SystemString
Optional caption.
See Also