C# Class AspNetEdit.Editor.UI.RootDesignerView

Inheritance: Gecko.WebControl
ファイルを表示 Open project: mono/aspeditor Class Usage Examples

Public Properties

Property Type Description
instance RootDesignerView

Protected Properties

Property Type Description
active bool

Public Methods

Method Description
Destroy ( ) : void
GetInstance ( IDesignerHost host ) : RootDesignerView

Private Methods

Method Description
AddControl ( Control control ) : void
BeginLoad ( ) : void
DoCommand ( string editorCommand ) : void
GetDocument ( ) : string
InsertFragment ( string fragment ) : void
JSActivate ( string args ) : string

Name: Activate Called when the XUL document is all loaded and ready to recieve ASP.NET document Arguments: none Returns: none

JSClick ( string args ) : string

Name: Click Called when the document is clicked Arguments: enum ClickType: The button used to click (Single|Double|Right) string Component: The unique ID if a Control, else empty Returns: none

JSDebugStatement ( string args ) : string

Name: DebugStatement Writes to the console on behalf of Javascript Arguments: string message: the debug message Returns: none

JSDeserializeAndAdd ( string args ) : string

Name: DeserializeAndAdd Deserialises a fragment of ASP.NET code into a Gecko designer document fragment and adds the controls, directives etc to the host. Arguments: string designerDocumentFragment: the ASP.NET document fragment Returns: the deserialised document

JSDocumentReturn ( string args ) : string

Name: DocumentReturn Callback function for when host initiates document save Arguments: string document: the document text, with placeholder'd controls Returns: none

JSException ( string args ) : string

Name: ThrowException Throws managed exceptions on behalf of Javascript Arguments: string location: some description of where the error occurred string message: the exception's message Returns: none

JSRemoveControl ( string args ) : string

Name: RemoveControl Removes a control from the host when its Gecko representation is removed Arguments: string id: the control's ID Returns: none

JSResize ( string args ) : string

Name: ResizeControl Writes to the console on behalf of Javascript Arguments: string id: the control's ID string width: the control's width string height: the control's height Returns: none

JSSerialize ( string args ) : string

Name: Serialize Serialises a fragment of a Gecko document into ASP.NET code Arguments: string designerDocumentFragment: the Gecko document fragment Returns: the serialised document

RemoveControl ( Control control ) : void
RenameControl ( string oldName, string newName ) : void
RootDesignerView ( IDesignerHost host ) : System
changeService_ComponentChanged ( object sender, ComponentChangedEventArgs e ) : void
selectionService_SelectionChanged ( object sender, EventArgs e ) : void

Method Details

Destroy() public method

public Destroy ( ) : void
return void

GetInstance() public static method

public static GetInstance ( IDesignerHost host ) : RootDesignerView
host IDesignerHost
return RootDesignerView

Property Details

active protected_oe property

protected bool active
return bool

instance public_oe static_oe property

public static RootDesignerView instance
return RootDesignerView