Class AbpTabsTagHelperService
Inheritance
System.Object
AbpTabsTagHelperService
Implements
ITransientDependency
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.dll
Syntax
public class AbpTabsTagHelperService : AbpTagHelperService<AbpTabsTagHelper>, IAbpTagHelperService<AbpTabsTagHelper>, ITransientDependency
Constructors
AbpTabsTagHelperService(IHtmlGenerator)
Declaration
public AbpTabsTagHelperService(IHtmlGenerator htmlGenerator)
Parameters
Type |
Name |
Description |
IHtmlGenerator |
htmlGenerator |
|
Properties
HtmlGenerator
Declaration
protected IHtmlGenerator HtmlGenerator { get; }
Property Value
Type |
Description |
IHtmlGenerator |
|
Methods
CombineHeadersAndContents(TagHelperContext, TagHelperOutput, String, String)
Declaration
protected virtual string CombineHeadersAndContents(TagHelperContext context, TagHelperOutput output, string headers, string contents)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
System.String |
headers |
|
System.String |
contents |
|
Returns
Type |
Description |
System.String |
|
GetConents(TagHelperContext, TagHelperOutput, List<TabItem>)
Declaration
protected virtual string GetConents(TagHelperContext context, TagHelperOutput output, List<TabItem> items)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
System.Collections.Generic.List<TabItem> |
items |
|
Returns
Type |
Description |
System.String |
|
GetDataToggleStyle()
Declaration
protected virtual string GetDataToggleStyle()
Returns
Type |
Description |
System.String |
|
GetHeaderColumnSize()
Declaration
protected virtual int GetHeaderColumnSize()
Returns
Type |
Description |
System.Int32 |
|
Declaration
protected virtual string GetHeaders(TagHelperContext context, TagHelperOutput output, List<TabItem> items)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
System.Collections.Generic.List<TabItem> |
items |
|
Returns
Type |
Description |
System.String |
|
GetVerticalPillClassIfVertical()
Declaration
protected virtual string GetVerticalPillClassIfVertical()
Returns
Type |
Description |
System.String |
|
InitilizeFormGroupContentsContext(TagHelperContext, TagHelperOutput)
Declaration
protected virtual List<TabItem> InitilizeFormGroupContentsContext(TagHelperContext context, TagHelperOutput output)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
Returns
Type |
Description |
System.Collections.Generic.List<TabItem> |
|
PlaceInsideColumn(String, Int32)
Declaration
protected virtual string PlaceInsideColumn(string contents, int columnSize)
Parameters
Type |
Name |
Description |
System.String |
contents |
|
System.Int32 |
columnSize |
|
Returns
Type |
Description |
System.String |
|
PlaceInsideRow(TagHelperOutput)
Declaration
protected virtual void PlaceInsideRow(TagHelperOutput output)
Parameters
Type |
Name |
Description |
TagHelperOutput |
output |
|
ProcessAsync(TagHelperContext, TagHelperOutput)
Declaration
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.AbpTagHelperService<Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Tab.AbpTabsTagHelper>.ProcessAsync(TagHelperContext, TagHelperOutput)
SetActiveTab(List<TabItem>)
Declaration
protected virtual void SetActiveTab(List<TabItem> items)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<TabItem> |
items |
|
SetDataToggle(String)
Declaration
protected virtual string SetDataToggle(string content)
Parameters
Type |
Name |
Description |
System.String |
content |
|
Returns
Type |
Description |
System.String |
|
SetRandomNameIfNotProvided()
Declaration
protected virtual void SetRandomNameIfNotProvided()
SetTabItemNameIfNotProvided(String, Int32)
Declaration
protected virtual string SetTabItemNameIfNotProvided(string content, int index)
Parameters
Type |
Name |
Description |
System.String |
content |
|
System.Int32 |
index |
|
Returns
Type |
Description |
System.String |
|
SurroundContents(TagHelperContext, TagHelperOutput, String)
Declaration
protected virtual string SurroundContents(TagHelperContext context, TagHelperOutput output, string contents)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
System.String |
contents |
|
Returns
Type |
Description |
System.String |
|
Declaration
protected virtual string SurroundHeaders(TagHelperContext context, TagHelperOutput output, string headers)
Parameters
Type |
Name |
Description |
TagHelperContext |
context |
|
TagHelperOutput |
output |
|
System.String |
headers |
|
Returns
Type |
Description |
System.String |
|
Implements
ITransientDependency
Extension Methods