Class AbpTabsTagHelperService
Inheritance
object
AbpTabsTagHelperService
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 |
| Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator |
htmlGenerator |
|
Properties
HtmlGenerator
Declaration
protected IHtmlGenerator HtmlGenerator { get; }
Property Value
| Type |
Description |
| Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator |
|
Methods
CombineHeadersAndContents(TagHelperContext, TagHelperOutput, string, string)
Declaration
protected virtual string CombineHeadersAndContents(TagHelperContext context, TagHelperOutput output, string headers, string contents)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
| string |
headers |
|
| string |
contents |
|
Returns
GetConents(TagHelperContext, TagHelperOutput, List<TabItem>)
Declaration
protected virtual string GetConents(TagHelperContext context, TagHelperOutput output, List<TabItem> items)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
| System.Collections.Generic.List<T><TabItem> |
items |
|
Returns
GetDataToggleStyle()
Declaration
protected virtual string GetDataToggleStyle()
Returns
GetHeaderColumnSize()
Declaration
protected virtual int GetHeaderColumnSize()
Returns
Declaration
protected virtual string GetHeaders(TagHelperContext context, TagHelperOutput output, List<TabItem> items)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
| System.Collections.Generic.List<T><TabItem> |
items |
|
Returns
GetVerticalPillClassIfVertical()
Declaration
protected virtual string GetVerticalPillClassIfVertical()
Returns
InitilizeFormGroupContentsContext(TagHelperContext, TagHelperOutput)
Declaration
protected virtual List<TabItem> InitilizeFormGroupContentsContext(TagHelperContext context, TagHelperOutput output)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
Returns
| Type |
Description |
| System.Collections.Generic.List<T><TabItem> |
|
PlaceInsideColumn(string, int)
Declaration
protected virtual string PlaceInsideColumn(string contents, int columnSize)
Parameters
| Type |
Name |
Description |
| string |
contents |
|
| int |
columnSize |
|
Returns
PlaceInsideRow(TagHelperOutput)
Declaration
protected virtual void PlaceInsideRow(TagHelperOutput output)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
ProcessAsync(TagHelperContext, TagHelperOutput)
Declaration
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.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(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput)
SetActiveTab(List<TabItem>)
Declaration
protected virtual void SetActiveTab(List<TabItem> items)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<T><TabItem> |
items |
|
SetDataToggle(string)
Declaration
protected virtual string SetDataToggle(string content)
Parameters
| Type |
Name |
Description |
| string |
content |
|
Returns
SetRandomNameIfNotProvided()
Declaration
protected virtual void SetRandomNameIfNotProvided()
SetTabItemNameIfNotProvided(string, int)
Declaration
protected virtual string SetTabItemNameIfNotProvided(string content, int index)
Parameters
| Type |
Name |
Description |
| string |
content |
|
| int |
index |
|
Returns
SurroundContents(TagHelperContext, TagHelperOutput, string)
Declaration
protected virtual string SurroundContents(TagHelperContext context, TagHelperOutput output, string contents)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
| string |
contents |
|
Returns
Declaration
protected virtual string SurroundHeaders(TagHelperContext context, TagHelperOutput output, string headers)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
| string |
headers |
|
Returns
Implements
Extension Methods