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

Inheritance: System.Web.UI.WebControls.CompositeControl, IHasValidationGroup
Mostrar archivo Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
GetWorkflowActivity ( WorkflowActivity activity, bool expandInvalid ) : void

Gets or sets the workflow activity.

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

Writes the T:System.Web.UI.WebControls.CompositeControl content to the specified T:System.Web.UI.HtmlTextWriter object, for display on the client.

SetWorkflowActivity ( WorkflowActivity activity, RockContext rockContext, bool setValues = false ) : void

Sets the workflow activity.

Protected Methods

Method 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.

OnInit ( EventArgs e ) : void

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

lbDeleteActivityType_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbDeleteActivityType control.

Method Details

CreateChildControls() protected method

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
return void

GetWorkflowActivity() public method

Gets or sets the workflow activity.
public GetWorkflowActivity ( WorkflowActivity activity, bool expandInvalid ) : void
activity WorkflowActivity The activity.
expandInvalid bool if set to true [expand invalid].
return void

OnInit() protected method

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

RenderControl() public method

Writes the T:System.Web.UI.WebControls.CompositeControl content to the specified T:System.Web.UI.HtmlTextWriter object, for display on the client.
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter An that represents the output stream to render HTML content on the client.
return void

SetWorkflowActivity() public method

Sets the workflow activity.
public SetWorkflowActivity ( WorkflowActivity activity, RockContext rockContext, bool setValues = false ) : void
activity WorkflowActivity The value.
rockContext Rock.Data.RockContext The rock context.
setValues bool if set to true [set values].
return void

lbDeleteActivityType_Click() protected method

Handles the Click event of the lbDeleteActivityType control.
protected lbDeleteActivityType_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void