API Reference
Function
New-HTMLTabStyle
Creates a new HTML tab style with customizable options.
Remarks
This function allows you to define various styling options for HTML tabs, such as font size, color, weight, style, background color, border properties, and more.
Examples
EXAMPLE 1
New-HTMLTabStyle -FontSize "14px" -FontSizeActive "16px" -TextColor "black" -TextColorActive "blue" -FontWeight "normal" -FontWeightActive "bold" -FontStyle "normal" -FontStyleActive "italic" -FontVariant "normal" -FontVariantActive "small-caps" -FontFamily "Arial" -FontFamilyActive "Verdana" -TextDecoration "none" -TextDecorationActive "underline" -BackgroundColor "#f0f0f0" -BackgroundColorActive "#e0e0e0" -BackgroundColorActiveTarget "#d0d0d0" -BorderRadius "5px" -TextTransform "uppercase" -TextTransformActive "lowercase" -SlimTabs -Transition -LinearGradient -RemoveShadow -BorderStyle "solid" -BorderColor "gray" -BorderBottomWidth "1px" -BorderBottomStyle "solid" -BorderBottomColor "gray" -BorderBottomWidthActive "2px" -BorderBottomStyleActive "dashed" -BorderBottomColorActive "blue" -Style "custom" -Align "center" -Wrap "wrap" -Direction "row"
Creates a new HTML tab style with specified options.
EXAMPLE 2
New-HTMLTabStyle -FontSize "12px" -FontSizeActive "14px" -TextColor "gray" -TextColorActive "black" -FontWeight "bold" -FontWeightActive "bolder" -FontStyle "italic" -FontStyleActive "oblique" -FontVariant "small-caps" -FontVariantActive "normal" -FontFamily "Verdana" -FontFamilyActive "Arial" -TextDecoration "underline" -TextDecorationActive "none" -BackgroundColor "#e0e0e0" -BackgroundColorActive "#f0f0f0" -BackgroundColorActiveTarget "#d0d0d0" -BorderRadius "10px" -TextTransform "capitalize" -TextTransformActive "uppercase" -SlimTabs -Transition -LinearGradient -RemoveShadow -BorderStyle "dotted" -BorderColor "black" -BorderBottomWidth "2px" -BorderBottomStyle "dashed" -BorderBottomColor "blue" -BorderBottomWidthActive "1px" -BorderBottomStyleActive "solid" -BorderBottomColorActive "gray" -Style "default" -Align "left" -Wrap "nowrap" -Direction "column"
Creates another HTML tab style with different options.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-HTMLTabStyle [-Align <left|right|center|justify>] [-AlignContent <flex-start>] [-AlignItems <stretch|flex-start|flex-end|center|baseline>] [-BackgroundColor <String>] [-BackgroundColorActive <String>] [-BackgroundColorActiveTarget <String>] [-BorderBottomColor <String>] [-BorderBottomColorActive <String>] [-BorderBottomStyle <hidden>] [-BorderBottomStyleActive <hidden>] [-BorderBottomWidth <medium|thin|thick>] [-BorderBottomWidthActive <medium|thin|thick>] [-BorderColor <String>] [-BorderRadius <0px>] [-BorderStyle <hidden>] [-Direction <row|row-reverse|column|column-reverse>] [-FontFamily <String>] [-FontFamilyActive <String>] [-FontSize <String>] [-FontSizeActive <String>] [-FontStyle <normal|italic|oblique>] [-FontStyleActive <normal|italic|oblique>] [-FontVariant <normal|small-caps>] [-FontVariantActive <normal|small-caps>] [-FontWeight <normal>] [-FontWeightActive <normal>] [-JustifyContent <flex-start|flex-end|center>] [-LinearGradient] [-RemoveShadow] [-RowElements <Int32>] [-SlimTabs] [-TextColor <String>] [-TextColorActive <String>] [-TextDecoration <line-through|overline|underline>] [-TextDecorationActive <line-through|overline|underline>] [-TextTransform <uppercase|lowercase|capitalize>] [-TextTransformActive <uppercase|lowercase|capitalize>] [-Transition] [-Wrap <wrap|nowrap|wrap-reverse>] [<CommonParameters>]
#
Parameter set:
ManualParameters
- Align String
- Specifies the alignment of the tabs.
- Possible values:
left,right,center,justify - AlignContent String
- Possible values:
flex-start,flex-end,center,space-between,space-around,stretch - AlignItems String
- Possible values:
stretch,flex-start,flex-end,center,baseline - BackgroundColor String
- Specifies the background color for the tabs.
- BackgroundColorActive String
- Specifies the background color for the active tab.
- BackgroundColorActiveTarget String
- Specifies the background color for the active tab target.
- BorderBottomColor String
- Specifies the bottom border color for the tabs.
- BorderBottomColorActive String
- Specifies the bottom border color for the active tab.
- BorderBottomStyle String
- Specifies the bottom border style for the tabs.
- Possible values:
hidden,dotted,dashed,solid,double,groove,ridge,inset,outset - BorderBottomStyleActive String
- Specifies the bottom border style for the active tab.
- Possible values:
hidden,dotted,dashed,solid,double,groove,ridge,inset,outset - BorderBottomWidth String
- Specifies the bottom border width for the tabs.
- Possible values:
medium,thin,thick - BorderBottomWidthActive String
- Specifies the bottom border width for the active tab.
- Possible values:
medium,thin,thick - BorderColor String
- Specifies the border color for the tabs.
- BorderRadius String
- Specifies the border radius for the tabs.
- Possible values:
0px,5px,10px,15px,20px,25px - BorderStyle String
- Specifies the border style for the tabs.
- Possible values:
hidden,dotted,dashed,solid,double,groove,ridge,inset,outset - Direction String
- Specifies the direction of the tabs.
- Possible values:
row,row-reverse,column,column-reverse - FontFamily String
- Specifies the font family for the tabs.
- FontFamilyActive String
- Specifies the font family for the active tab.
- FontSize String
- Specifies the font size for the tabs.
- FontSizeActive String
- Specifies the font size for the active tab.
- FontStyle String
- Specifies the font style for the tabs.
- Possible values:
normal,italic,oblique - FontStyleActive String
- Specifies the font style for the active tab.
- Possible values:
normal,italic,oblique - FontVariant String
- Specifies the font variant for the tabs.
- Possible values:
normal,small-caps - FontVariantActive String
- Specifies the font variant for the active tab.
- Possible values:
normal,small-caps - FontWeight String
- Specifies the font weight for the tabs.
- Possible values:
normal,bold,bolder,lighter,100,200,300,400,500,600,700,800,900 - FontWeightActive String
- Specifies the font weight for the active tab.
- Possible values:
normal,bold,bolder,lighter,100,200,300,400,500,600,700,800,900 - JustifyContent String
- Possible values:
flex-start,flex-end,center - LinearGradient SwitchParameter
- Indicates whether to use linear gradients.
- RemoveShadow SwitchParameter
- Indicates whether to remove shadows.
- RowElements Int32
- SlimTabs SwitchParameter
- Indicates whether to use slim tabs.
- TextColor String
- Specifies the text color for the tabs.
- TextColorActive String
- Specifies the text color for the active tab.
- TextDecoration String
- Specifies the text decoration for the tabs.
- Possible values:
line-through,overline,underline - TextDecorationActive String
- Specifies the text decoration for the active tab.
- Possible values:
line-through,overline,underline - TextTransform String
- Specifies the text transformation for the tabs.
- Possible values:
uppercase,lowercase,capitalize - TextTransformActive String
- Specifies the text transformation for the active tab.
- Possible values:
uppercase,lowercase,capitalize - Transition SwitchParameter
- Indicates whether to apply transitions.
- Wrap String
- Specifies the wrapping behavior of the tabs.
- Possible values:
wrap,nowrap,wrap-reverse
New-HTMLTabStyle [-Align <left|right|center|justify>] [-AlignContent <flex-start>] [-AlignItems <stretch|flex-start|flex-end|center|baseline>] [-Direction <row|row-reverse|column|column-reverse>] [-JustifyContent <flex-start|flex-end|center>] [-RowElements <Int32>] [-Style <String>] [-Wrap <wrap|nowrap|wrap-reverse>] [<CommonParameters>]
#
Parameter set:
StyledParameters
- Align String
- Specifies the alignment of the tabs.
- Possible values:
left,right,center,justify - AlignContent String
- Possible values:
flex-start,flex-end,center,space-between,space-around,stretch - AlignItems String
- Possible values:
stretch,flex-start,flex-end,center,baseline - Direction String
- Specifies the direction of the tabs.
- Possible values:
row,row-reverse,column,column-reverse - JustifyContent String
- Possible values:
flex-start,flex-end,center - RowElements Int32
- Style String
- Specifies a custom style for the tabs.
- Wrap String
- Specifies the wrapping behavior of the tabs.
- Possible values:
wrap,nowrap,wrap-reverse