C# Класс Rock.Web.UI.Controls.ImageEditor

Наследование: System.Web.UI.WebControls.CompositeControl, IRockControl
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CropImage Stream
RegisterStartupScript void

Открытые методы

Метод Описание
ImageEditor ( ) : System

Initializes a new instance of the ImageEditor class.

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

This is where you implment the simple aspects of rendering your control. The rest will be handled by calling RenderControlHelper's RenderControl() method.

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.

Защищенные методы

Метод Описание
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.

OnLoad ( EventArgs e ) : void

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

_lbShowModal_Click ( object sender, EventArgs e ) : void

Handles the Click event of the _lbShowModal control.

_lbUploadImage_Click ( object sender, EventArgs e ) : void

Handles the Click event of the _lbUploadImage control.

_mdImageDialog_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the _mdImageDialog control.

Приватные методы

Метод Описание
CropImage ( Stream bitmapContent, string mimeType ) : Stream

Crops the image.

RegisterStartupScript ( ) : void

Registers the startup script.

Описание методов

CreateChildControls() защищенный Метод

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
Результат void

ImageEditor() публичный Метод

Initializes a new instance of the ImageEditor class.
public ImageEditor ( ) : System
Результат System

OnLoad() защищенный Метод

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Результат void

RenderBaseControl() публичный Метод

This is where you implment the simple aspects of rendering your control. The rest will be handled by calling RenderControlHelper's RenderControl() method.
public RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
Результат void

RenderControl() публичный Метод

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.
Результат void

_lbShowModal_Click() защищенный Метод

Handles the Click event of the _lbShowModal control.
protected _lbShowModal_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

_lbUploadImage_Click() защищенный Метод

Handles the Click event of the _lbUploadImage control.
protected _lbUploadImage_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

_mdImageDialog_SaveClick() защищенный Метод

Handles the SaveClick event of the _mdImageDialog control.
protected _mdImageDialog_SaveClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void