User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.mvccontrolbase

This is an old revision of the document!


ThinkGeo.MapSuite.MvcEdition.MvcControlBase

<!– Class –> This class defines the base abstract class for creating MVC control.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary

Protected Constructors

Name Parameters DeclaringType Summary
Protected MethodMvcControlBase Initializes a new instance of the MvcControlBase class.
Protected MethodMvcControlBase String Initializes a new instance of the MvcControlBase class.

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodFill String Fill an instance according to the input entity string
Public MethodFill String, String Fill an instance based on the input model name according to the input entity string
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToString String Convert current object based on mode name to an entity string.
Public MethodToString Object(overriden)

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyClientScriptBlocks Dictionary<String,String> Gets the client script blocks which will be registered to the page.
Public PropertyClientScriptFileNames Dictionary<String,String> Gets the client script files which will be registered to the page.
Public PropertyHeight Unit Gets or sets the height of the control.
Public PropertyHtmlAttributes Dictionary<String,String> Gets the customized html attributes of the control.
Public PropertyId String Gets the client id of the control, it will be calculated from Name property.
Public PropertyName String Gets the unique identifier name of the control.
Public PropertyStyleSheetFileNames Collection<String> Gets the css files which will be wrote to the client html.
Public PropertyViewContext ViewContext Gets the ViewContext of the page which includes the control.
Public PropertyVisible Boolean Gets or sets the visibility of the control.
Public PropertyWidth Unit Gets or sets the width of the control.

Protected Properties

Name Return DeclaringType Summary
Protected PropertyClientScriptManager MvcClientScriptManager Gets the object which is used for managing, registering the client scripts.
Protected PropertyClientStyleSheetManager MvcClientStyleSheetManager Gets the object which is used for managing, registering the css files used by the control.

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

Protected Constructors

MvcControlBase()

Initializes a new instance of the MvcControlBase class.

Parameters

Name Type Description

Go Back

MvcControlBase(String)

Initializes a new instance of the MvcControlBase class.

Parameters

Name Type Description
name String<!– System.String –> The unique identifier name of the control.

Go Back

Public Methods

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

Fill(String)

Fill an instance according to the input entity string

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
entityString String<!– System.String –> the inpu entity string.

<!– ThinkGeo.MapSuite.MvcEdition.MvcControlBase –> Go Back

Fill(String, String)

Fill an instance based on the input model name according to the input entity string

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
modelName String<!– System.String –> the input model name
entityString String<!– System.String –> the input entity string

<!– ThinkGeo.MapSuite.MvcEdition.MvcControlBase –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ToString(String)

Convert current object based on mode name to an entity string.

Return Value

Return Type Description
String<!– System.String –> an entity string

Parameters

Name Type Description
modelName String<!– System.String –> model name

<!– ThinkGeo.MapSuite.MvcEdition.MvcControlBase –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object(overriden) –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

ClientScriptBlocks

Gets the client script blocks which will be registered to the page.

Return Value

Return Type
Dictionary<String,String><!– System.Collections.Generic.Dictionary{System.String,System.String} –>

<!– ThinkGeo.MapSuite.MvcEdition.MvcControlBase –> Go Back

ClientScriptFileNames

Gets the client script files which will be registered to the page.

Return Value

Return Type
Dictionary<String,String><!– System.Collections.Generic.Dictionary{System.String,System.String} –>

<!– ThinkGeo.MapSuite.MvcEdition.MvcControlBase –> Go Back

Height

Gets or sets the height of the control.

Return Value

Return Type
Unit<!– System.Web.UI.WebControls.Unit –>

<!– ThinkGeo.MapSuite.MvcEdition.MvcControlBase –> Go Back

HtmlAttributes

Gets the customized html attributes of the control.

Return Value

Return Type
Dictionary<String,String><!– System.Collections.Generic.Dictionary{System.String,System.String} –>

<!– ThinkGeo.MapSuite.MvcEdition.MvcControlBase –> Go Back

Id

Gets the client id of the control, it will be calculated from Name property.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.MvcControlBase –> Go Back

Name

Gets the unique identifier name of the control.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.MvcControlBase –> Go Back

StyleSheetFileNames

Gets the css files which will be wrote to the client html.

Return Value

Return Type
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –>

<!– ThinkGeo.MapSuite.MvcEdition.MvcControlBase –> Go Back

ViewContext

Gets the ViewContext of the page which includes the control.

Return Value

Return Type
ViewContext<!– System.Web.Mvc.ViewContext –>

<!– ThinkGeo.MapSuite.MvcEdition.MvcControlBase –> Go Back

Visible

Gets or sets the visibility of the control.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.MvcEdition.MvcControlBase –> Go Back

Width

Gets or sets the width of the control.

Return Value

Return Type
Unit<!– System.Web.UI.WebControls.Unit –>

<!– ThinkGeo.MapSuite.MvcEdition.MvcControlBase –> Go Back

Protected Properties

ClientScriptManager

Gets the object which is used for managing, registering the client scripts.

Return Value

Return Type
MvcClientScriptManager<!– ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager –>

<!– ThinkGeo.MapSuite.MvcEdition.MvcControlBase –> Go Back

ClientStyleSheetManager

Gets the object which is used for managing, registering the css files used by the control.

Return Value

Return Type
MvcClientStyleSheetManager<!– ThinkGeo.MapSuite.MvcEdition.MvcClientStyleSheetManager –>

<!– ThinkGeo.MapSuite.MvcEdition.MvcControlBase –> Go Back

Public Events

thinkgeo.mapsuite.mvcedition.mvccontrolbase.1440040131.txt.gz · Last modified: 2015/09/21 03:35 (external edit)