C# 클래스 Rock.Web.UI.Controls.ImageEditor

상속: System.Web.UI.WebControls.CompositeControl, IRockControl
파일 보기 프로젝트 열기: NewSpring/Rock

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