C# Class Rock.Web.UI.Controls.CodeEditor

Inheritance: System.Web.UI.WebControls.TextBox, IRockControl
Afficher le fichier Open project: NewSpring/Rock Class Usage Examples

Private Properties

Свойство Type Description
EditorModeAsString string
EditorThemeAsString string

Méthodes publiques

Méthode Description
CodeEditor ( ) : System

Initializes a new instance of the RockTextBox class.

MergeFields_SelectItem ( object sender, EventArgs e ) : void

Handles the SelectItem event of the MergeFields control.

RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the base control.

RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.

Méthodes protégées

Méthode Description
CreateChildControls ( ) : void

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.

LoadPostData ( string postDataKey, System postCollection ) : bool

Processes the postback data for the T:System.Web.UI.WebControls.TextBox control.

OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

Private Methods

Méthode Description
EditorModeAsString ( CodeEditorMode mode ) : string

Gets the mode of the editor as text based on property

EditorThemeAsString ( CodeEditorTheme theme ) : string

Gets the theme of the editor as text based on property

Method Details

CodeEditor() public méthode

Initializes a new instance of the RockTextBox class.
public CodeEditor ( ) : System
Résultat System

CreateChildControls() protected méthode

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.
protected CreateChildControls ( ) : void
Résultat void

LoadPostData() protected méthode

Processes the postback data for the T:System.Web.UI.WebControls.TextBox control.
protected LoadPostData ( string postDataKey, System postCollection ) : bool
postDataKey string The index within the posted collection that references the content to load.
postCollection System The collection posted to the server.
Résultat bool

MergeFields_SelectItem() public méthode

Handles the SelectItem event of the MergeFields control.
public MergeFields_SelectItem ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

OnInit() protected méthode

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Résultat void

RenderBaseControl() public méthode

Renders the base control.
public RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
Résultat void

RenderControl() public méthode

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the control content.
Résultat void