Click or drag to resize

Modal Class

Represents a Bootstrap modal.
Inheritance Hierarchy

Namespace:  Bootstrap.A11y
Assembly:  Bootstrap.A11y (in Bootstrap.A11y.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public class Modal : AccessibleWebControl, INamingContainer

The Modal type exposes the following members.

Constructors
  NameDescription
Public methodModal
Initializes a new instance of the Modal class.
Top
Properties
  NameDescription
Public propertyAccessKey (Inherited from WebControl.)
Protected propertyAdapter (Inherited from Control.)
Public propertyAppRelativeTemplateSourceDirectory (Inherited from Control.)
Public propertyAttributes (Inherited from WebControl.)
Public propertyBackColor (Inherited from WebControl.)
Public propertyBackdropType
Includes a modal-backdrop element. Alternatively, specify static for a backdrop which doesn't close the modal on click.
Public propertyBorderColor (Inherited from WebControl.)
Public propertyBorderStyle (Inherited from WebControl.)
Public propertyBorderWidth (Inherited from WebControl.)
Protected propertyChildControlsCreated (Inherited from Control.)
Public propertyClientID (Inherited from Control.)
Public propertyClientIDMode (Inherited from Control.)
Protected propertyClientIDSeparator (Inherited from Control.)
Public propertyCloseOnEscKey
If true, closes the modal when escape key is pressed.
Public propertyContent
Gets or sets the content.
Protected propertyContext (Inherited from Control.)
Public propertyControls (Inherited from Control.)
Public propertyControlStyle (Inherited from WebControl.)
Public propertyControlStyleCreated (Inherited from WebControl.)
Public propertyCssClass (Inherited from WebControl.)
Protected propertyDesignMode (Inherited from Control.)
Public propertyEnabled (Inherited from WebControl.)
Public propertyEnableTheming (Inherited from WebControl.)
Public propertyEnableViewState (Inherited from Control.)
Protected propertyEvents (Inherited from Control.)
Public propertyFade
Gets or sets a value indicating whether this Modal is fade.
Public propertyFont (Inherited from WebControl.)
Public propertyFooter
Gets or sets the footer.
Public propertyForeColor (Inherited from WebControl.)
Public propertyHasAttributes (Inherited from WebControl.)
Protected propertyHasChildViewState (Inherited from Control.)
Public propertyHeight (Inherited from WebControl.)
Public propertyID (Inherited from Control.)
Protected propertyIdSeparator (Inherited from Control.)
Protected propertyIsChildControlStateCleared (Inherited from Control.)
Protected propertyIsEnabled (Inherited from WebControl.)
Protected propertyIsTrackingViewState (Inherited from Control.)
Protected propertyIsViewStateEnabled (Inherited from Control.)
Protected propertyLoadViewStateByID (Inherited from Control.)
Public propertyNamingContainer (Inherited from Control.)
Public propertyPage (Inherited from Control.)
Public propertyParent (Inherited from Control.)
Public propertyRemotePath
If a remote URL is provided, content will be loaded via jQuery's load method and injected into the root of the modal element.
Public propertyRenderingCompatibility (Inherited from Control.)
Public propertyShow
If true, shows the modal when initialized.
Public propertySite (Inherited from Control.)
Public propertySize
Gets or sets the size.
Public propertySkinID (Inherited from WebControl.)
Public propertyStyle (Inherited from WebControl.)
Public propertySupportsDisabledAttribute (Inherited from WebControl.)
Public propertyTabIndex (Inherited from WebControl.)
Protected propertyTagKey
Gets the HtmlTextWriterTag value that corresponds to this Web server control.
(Inherited from AccessibleWebControl.)
Protected propertyTagName (Inherited from WebControl.)
Public propertyTemplateControl (Inherited from Control.)
Public propertyTemplateSourceDirectory (Inherited from Control.)
Public propertyTitle
Gets or sets the title.
Public propertyTitleTag
Gets or sets the tag type (typically a header like h3) to wrap around the title.
Public propertyToolTip (Inherited from WebControl.)
Public propertyUniqueID (Inherited from Control.)
Public propertyValidateRequestMode (Inherited from Control.)
Protected propertyViewState (Inherited from Control.)
Protected propertyViewStateIgnoresCase (Inherited from Control.)
Public propertyViewStateMode (Inherited from Control.)
Public propertyVisible (Inherited from Control.)
Public propertyWidth (Inherited from WebControl.)
Top
Methods
  NameDescription
Protected methodAddAttributesToRender (Inherited from WebControl.)
Protected methodAddedControl (Inherited from Control.)
Protected methodAddParsedSubObject (Inherited from Control.)
Public methodApplyStyle (Inherited from WebControl.)
Public methodApplyStyleSheetSkin (Inherited from Control.)
Protected methodBuildProfileTree (Inherited from Control.)
Protected methodClearCachedClientID (Inherited from Control.)
Protected methodClearChildControlState (Inherited from Control.)
Protected methodClearChildState (Inherited from Control.)
Protected methodClearChildViewState (Inherited from Control.)
Protected methodClearEffectiveClientIDMode (Inherited from Control.)
Public methodClose
Closes this instance.
Public methodCopyBaseAttributes (Inherited from WebControl.)
Protected methodCreateChildControls
Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
(Overrides ControlCreateChildControls.)
Protected methodCreateControlCollection (Inherited from Control.)
Protected methodCreateControlStyle (Inherited from WebControl.)
Public methodDataBind (Inherited from Control.)
Protected methodDataBind(Boolean) (Inherited from Control.)
Protected methodDataBindChildren (Inherited from Control.)
Public methodDispose (Inherited from Control.)
Protected methodEnsureChildControls (Inherited from Control.)
Protected methodEnsureClassesPresent
Ensures that necessary classes are present on the control before rendering.
Protected methodEnsureID (Inherited from Control.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindControl(String) (Inherited from Control.)
Protected methodFindControl(String, Int32) (Inherited from Control.)
Public methodFocus (Inherited from Control.)
Protected methodGetDesignModeState (Inherited from Control.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetRouteUrl(Object) (Inherited from Control.)
Public methodGetRouteUrl(RouteValueDictionary) (Inherited from Control.)
Public methodGetRouteUrl(String, Object) (Inherited from Control.)
Public methodGetRouteUrl(String, RouteValueDictionary) (Inherited from Control.)
Public methodGetType (Inherited from Object.)
Public methodGetUniqueIDRelativeTo (Inherited from Control.)
Public methodHasControls (Inherited from Control.)
Protected methodHasEvents (Inherited from Control.)
Protected methodIsLiteralContent (Inherited from Control.)
Protected methodLoadControlState (Inherited from Control.)
Protected methodLoadViewState (Inherited from WebControl.)
Protected methodMapPathSecure (Inherited from Control.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMergeStyle (Inherited from WebControl.)
Protected methodOnBubbleEvent (Inherited from Control.)
Protected methodOnDataBinding (Inherited from Control.)
Protected methodOnInit
Raises the Init event. This notifies the control to perform any steps necessary for its creation on a page request.
(Overrides AccessibleWebControlOnInit(EventArgs).)
Protected methodOnLoad (Inherited from Control.)
Protected methodOnPreRender (Inherited from Control.)
Protected methodOnUnload (Inherited from Control.)
Public methodOpen
Opens this instance.
Protected methodOpenFile (Inherited from Control.)
Protected methodRaiseBubbleEvent (Inherited from Control.)
Protected methodRemovedControl (Inherited from Control.)
Protected methodRender
Renders the control to the specified HTML writer.
(Overrides WebControlRender(HtmlTextWriter).)
Public methodRenderBeginTag (Inherited from WebControl.)
Protected methodRenderChildren (Inherited from Control.)
Protected methodRenderContents
Renders the control to the specified HTML writer.
(Overrides WebControlRenderContents(HtmlTextWriter).)
Public methodRenderControl(HtmlTextWriter) (Inherited from Control.)
Protected methodRenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Public methodRenderEndTag (Inherited from WebControl.)
Protected methodResolveAdapter (Inherited from Control.)
Public methodResolveClientUrl (Inherited from Control.)
Public methodResolveUrl (Inherited from Control.)
Protected methodSaveControlState (Inherited from Control.)
Protected methodSaveViewState (Inherited from WebControl.)
Protected methodSetDesignModeState (Inherited from Control.)
Public methodSetRenderMethodDelegate (Inherited from Control.)
Public methodToString (Inherited from Object.)
Protected methodTrackViewState (Inherited from WebControl.)
Top
Events
  NameDescription
Public eventDataBinding (Inherited from Control.)
Public eventDisposed (Inherited from Control.)
Public eventInit (Inherited from Control.)
Public eventLoad (Inherited from Control.)
Public eventPreRender (Inherited from Control.)
Public eventUnload (Inherited from Control.)
Top
See Also