The TemplatedWebPartChrome type exposes the following members.

Methods

  Name Description
Protected method ApplyChromeType
Applies chrome type to the templated Web part chrome. Part has to contain <#body#>, <#header#> and <#border#> tags so we could distinguish the elements in the templates.
Protected method CleanTemplate
Cleans the template string from the section tags.
Protected method GenerateContentFromTemplate
Protected method GenerateDescriptionText
Generates the description text.
Protected method GetTemplateFromFile
Gets template from file.
Protected method GetTemplateFromWebPart
Gets the template from web part.
Protected method GetTemplateFromWebPartZoneTemplate
Gets the template from web part zone template.
Protected method GetWebPartDragSurfaceID
Gets the web part drag surface identifier.
Protected method GetWebPartTitle
Gets the web part title.
Protected method InitializeTemplate
Initializes the template.
Protected method IsHiddenPartVisibleInCurrentMode
Hidden parts should be made visible for admins in a design mode. This method checks for that.
Protected method IsPartVisible
Checks if the BasePart wrapped by the WebPart instance is visible If it is not visible (ususally because the current user doesn't have rights to see it), the chrome should NOT be rendered at all
Protected method RegexMatch
Regexes the match.
Protected method RemoveBody
Removes the body.
Protected method RemoveBorder
Removes the border.
Protected method RemoveHeader
Removes the header.
Protected method RenderPartContents
Renders the part contents.
Protected method RenderTitleIcon
Renders the title icon.
Protected method RenderTitleText
Renders the title text.
Protected method RenderVerbs
Renders the verbs.
Public method RenderWebPart
Renders web part.
(Overrides WebPartChrome..::..RenderWebPart(HtmlTextWriter, WebPart).)

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

See Also