[]
Defines the base class for C1 MVC components.
public abstract class Component : IHtmlString
Name | Description |
---|---|
Component(HtmlHelper) | Creates one Component instance. |
Name | Description |
---|---|
ChildComponentsCreated | Gets or sets a boolean value indicates whether child components are created. |
ClientComponent | Gets a value which represents the client control constructor with the complete namespace. |
Components | Gets the child components. |
HasScripts | Gets a boolean value indicates whether current component has the scripts which need to be rendered. |
Id | Gets or sets the component id. |
UrlHelper | Gets the url helper. |
Name | Description |
---|---|
CreateChildComponents() | Creates child components. |
EnsureChildComponents() | Ensure the child components created. |
OnPreRender() | This method is performed before rendering. |
RegisterStartupScript(HtmlTextWriter) | Registers the start-up script. |
Render(HtmlTextWriter) | Render the component result to the writer. |
RenderScripts(HtmlTextWriter, bool) | Render the scripts. |
SerializeOptions() | Serialize the control to a Json string. |
ToHtmlString() | Returns an HTML-encoded string. |