C# Class SharpUI.TemplateControl

Afficher le fichier Open project: duckmaestro/Sharp-UI Class Usage Examples

Protected Properties

Свойство Type Description
_hash_oNamedChildControls Dictionary
_hash_oNamedChildElements Dictionary

Private Properties

Свойство Type Description
AutoFillMemberFields void
CaptureMouse void
CaptureMouse void
CombinePaths string
FindTemplate string
FromRootElement TemplateControl
GenerateNewAutoCssClass string
GenerateNewAutoId string
GenerateNewInstanceId string
GetLocalId string
InitDocumentDetection void
InitDocumentMouseTracking void
MakeJQueryPosition jQueryApi.jQueryPosition
NotifyAddedToDocument void
NotifyPresented void
NotifyRemovedFromDocument void
OnIntervalCheckParent void
OnMouseDownDocument void
OnMouseMoveDocument void
OnMouseUpDocument void
ProcessCss void
ResolveTypeName string
StaticConstructor void
TemplateControl System
TemplateControl System
TryFromRootElement TemplateControl

Méthodes publiques

Méthode Description
NotifyLayoutUpdated ( ) : void
TemplateControl ( object oTemplate ) : System

Méthodes protégées

Méthode Description
GetControl ( string strId ) : TemplateControl
GetElement ( string strId ) : jQueryObject
GetGroup ( string formFieldGroupname ) : jQueryObject
ProcessChildContent ( jQueryObject jqChildContent ) : void

If this control instance had content placed inside its declaration, this method is called with said content.

TryGetElement ( string strId ) : jQueryObject

Private Methods

Méthode Description
AutoFillMemberFields ( ) : void
CaptureMouse ( jQueryApi.jQueryEvent mouseEvent, MouseCaptureHandler h ) : void
CaptureMouse ( jQueryApi.jQueryEvent mouseEvent, MouseCaptureHandler h, string cssMouseCursor ) : void
CombinePaths ( string p1, string p2 ) : string
FindTemplate ( TemplateControl templateControl ) : string

For the given template control, retrieve its html template.

FromRootElement ( object elem ) : TemplateControl

Helper method. Retrieves the TemplateControl instance from its jQuery root element.

GenerateNewAutoCssClass ( ) : string
GenerateNewAutoId ( ) : string
GenerateNewInstanceId ( ) : string
GetLocalId ( jQueryObject jqElement ) : string
InitDocumentDetection ( ) : void
InitDocumentMouseTracking ( ) : void
MakeJQueryPosition ( double left, double top ) : jQueryApi.jQueryPosition
NotifyAddedToDocument ( ) : void
NotifyPresented ( ) : void
NotifyRemovedFromDocument ( ) : void
OnIntervalCheckParent ( ) : void
OnMouseDownDocument ( jQueryApi.jQueryEvent e ) : void
OnMouseMoveDocument ( jQueryApi.jQueryEvent e ) : void
OnMouseUpDocument ( jQueryApi.jQueryEvent e ) : void
ProcessCss ( TemplateControl rootControl, string strRawCss ) : void
ResolveTypeName ( string strShortName, string startingNamespace ) : string
StaticConstructor ( ) : void Proper static construct declaration conflicting with extern instance constructor. This is workaround.
TemplateControl ( ) : System
TemplateControl ( string strTemplate ) : System
TryFromRootElement ( object elem ) : TemplateControl

Method Details

GetControl() protected méthode

protected GetControl ( string strId ) : TemplateControl
strId string
Résultat TemplateControl

GetElement() protected méthode

protected GetElement ( string strId ) : jQueryObject
strId string
Résultat jQueryObject

GetGroup() protected méthode

protected GetGroup ( string formFieldGroupname ) : jQueryObject
formFieldGroupname string
Résultat jQueryObject

NotifyLayoutUpdated() public méthode

public NotifyLayoutUpdated ( ) : void
Résultat void

ProcessChildContent() protected méthode

If this control instance had content placed inside its declaration, this method is called with said content.
protected ProcessChildContent ( jQueryObject jqChildContent ) : void
jqChildContent jQueryObject
Résultat void

TemplateControl() public méthode

public TemplateControl ( object oTemplate ) : System
oTemplate object
Résultat System

TryGetElement() protected méthode

protected TryGetElement ( string strId ) : jQueryObject
strId string
Résultat jQueryObject

Property Details

_hash_oNamedChildControls protected_oe property

protected Dictionary _hash_oNamedChildControls
Résultat Dictionary

_hash_oNamedChildElements protected_oe property

protected Dictionary _hash_oNamedChildElements
Résultat Dictionary