C# Класс AspNetEdit.Editor.UI.RootDesignerView

Наследование: Gecko.WebControl
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
instance RootDesignerView

Защищенные свойства (Protected)

Свойство Тип Описание
active bool

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

Метод Описание
Destroy ( ) : void
GetInstance ( IDesignerHost host ) : RootDesignerView

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

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

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

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

public Destroy ( ) : void
Результат void

GetInstance() публичный статический Метод

public static GetInstance ( IDesignerHost host ) : RootDesignerView
host IDesignerHost
Результат RootDesignerView

Описание свойств

active защищенное свойство

protected bool active
Результат bool

instance публичное статическое свойство

public static RootDesignerView instance
Результат RootDesignerView