Property | Type | Description | |
---|---|---|---|
ControlSubstituteStructure | string | ||
DirectivePlaceholderStructure | string | ||
newDocument | string |
Property | Type | Description | |
---|---|---|---|
ConstructErrorDocument | string | ||
GetView | void | ||
initDocument | void |
Method | Description | |
---|---|---|
AddControl ( |
||
AddDirective ( string name, IDictionary values ) : string |
Adds a directive port tracking.
|
|
DeserializeAndAdd ( string aspFragment ) : string |
Converts a ASP.NET fragment to a a designer document fragment, and adds the controls and directives etc to the host.
|
|
DoCommand ( string editorCommand ) : void | ||
Document ( |
Creates a document from an existing file
|
|
Document ( |
Creates a new document
|
|
GetDirectives ( string directiveType ) : AspNetEdit.Editor.ComponentModel.DocumentDirective[] |
Gets all of the directives of a given type
|
|
GetFirstDirective ( string directiveType, bool create ) : AspNetEdit.Editor.ComponentModel.DocumentDirective |
Gets the first directive of a given type
|
|
GetLoadedDocument ( ) : string | ||
InsertFragment ( string fragment ) : void | ||
PersistDocument ( ) : string |
Serialises the entire document to ASP.NET code
|
|
RemoveControl ( |
||
RemoveDirective ( int placeholderId ) : string | ||
RenameControl ( string oldName, string newName ) : void | ||
RenderDesignerControl ( |
Renders the designer html for an ASP.NET Control
|
|
Serialize ( string designerDocumentFragment ) : string |
Converts a designer document fragment to ASP.NET code
|
Method | Description | |
---|---|---|
ConstructErrorDocument ( string errorTitle, string errorDetails ) : string | ||
GetView ( ) : void | ||
initDocument ( |
public AddControl ( |
||
control | ||
return | void |
public AddDirective ( string name, IDictionary values ) : string | ||
name | string | |
values | IDictionary | |
return | string |
public DeserializeAndAdd ( string aspFragment ) : string | ||
aspFragment | string | |
return | string |
public DoCommand ( string editorCommand ) : void | ||
editorCommand | string | |
return | void |
public Document ( |
||
parent | ||
host | DesignerHost | |
fileStream | Stream | |
fileName | string | |
return | System |
public Document ( |
||
parent | ||
host | DesignerHost | |
documentName | string | |
return | System |
public GetDirectives ( string directiveType ) : AspNetEdit.Editor.ComponentModel.DocumentDirective[] | ||
directiveType | string | |
return | AspNetEdit.Editor.ComponentModel.DocumentDirective[] |
public GetFirstDirective ( string directiveType, bool create ) : AspNetEdit.Editor.ComponentModel.DocumentDirective | ||
directiveType | string | |
create | bool | Whether the directive should be created if one does not already exist |
return | AspNetEdit.Editor.ComponentModel.DocumentDirective |
public InsertFragment ( string fragment ) : void | ||
fragment | string | |
return | void |
public RemoveControl ( |
||
control | ||
return | void |
public RemoveDirective ( int placeholderId ) : string | ||
placeholderId | int | |
return | string |
public RenameControl ( string oldName, string newName ) : void | ||
oldName | string | |
newName | string | |
return | void |
public static RenderDesignerControl ( |
||
control | ||
return | string |
public Serialize ( string designerDocumentFragment ) : string | ||
designerDocumentFragment | string | |
return | string |
public static string ControlSubstituteStructure | ||
return | string |
public static string DirectivePlaceholderStructure | ||
return | string |