The TemplatedWebPartChrome type exposes the following members.
Methods
Name | Description | |
---|---|---|
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.
|
|
CleanTemplate |
Cleans the template string from the section tags.
|
|
GenerateContentFromTemplate | ||
GenerateDescriptionText |
Generates the description text.
|
|
GetTemplateFromFile |
Gets template from file.
|
|
GetTemplateFromWebPart |
Gets the template from web part.
|
|
GetTemplateFromWebPartZoneTemplate |
Gets the template from web part zone template.
|
|
GetWebPartDragSurfaceID |
Gets the web part drag surface identifier.
|
|
GetWebPartTitle |
Gets the web part title.
|
|
InitializeTemplate |
Initializes the template.
|
|
IsHiddenPartVisibleInCurrentMode |
Hidden parts should be made visible for admins in a design mode. This method checks for that.
|
|
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
|
|
RegexMatch |
Regexes the match.
|
|
RemoveBody |
Removes the body.
|
|
RemoveBorder |
Removes the border.
|
|
RemoveHeader |
Removes the header.
|
|
RenderPartContents |
Renders the part contents.
|
|
RenderTitleIcon |
Renders the title icon.
|
|
RenderTitleText |
Renders the title text.
|
|
RenderVerbs |
Renders the verbs.
|
|
RenderWebPart |
Renders web part.
(Overrides WebPartChrome..::..RenderWebPart(HtmlTextWriter, WebPart).) |
Extension Methods
Name | Description | |
---|---|---|
ConvertTo(Type) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)()()()() | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)(TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
GetCurrentStackTrace |
Gets current stack trace information.
(Defined by ObjectExtension.) |
|
GetDebugInformation |
Gets the debug information for currently executing code.
(Defined by ObjectExtension.) |
|
GetExecutingMethodName |
Gets the executing method name.
(Defined by ObjectExtension.) |
|
GetPropertyType |
Gets a property type.
(Defined by ObjectExtension.) |
|
GetPropertyValue |
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.) |
|
PropertyExists |
Check if property exists.
(Defined by ObjectExtension.) |
|
SetPropertyValue |
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.) |