[]
Defines the C1 MVC component class.
public abstract class Component : IHtmlContent
Name | Description |
---|---|
Component(IHtmlHelper) | 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(TextWriter) | Registers the start-up script. |
Render(TextWriter, HtmlEncoder) | |
RenderScripts(TextWriter, bool) | Render the scripts. |
SerializeOptions() | Serialize the control to a Json string. |
WriteTo(TextWriter, HtmlEncoder) | Writer the process result of current instance to the writer. |