Class PivotViewStyle
Represents custom style settings used to format pivot table value cells when conditional formatting rules apply.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public class PivotViewStyle : PivotConditionalFormattingStyle, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Remarks
The PivotViewStyle class defines styling properties that control the appearance of cells that meet conditional formatting criteria. Style properties control background color, text color, font family, and font size.
-
BackgroundColor: Specifies the cell background color (for example, "#E6FFCC" or "lightgreen"). -
Color: Specifies the text color for the cell. -
FontFamily: Specifies the font family for cell text (for example, "Arial"). -
FontSize: Specifies the font size for cell text (for example, "14px").
Constructors
PivotViewStyle()
Declaration
public PivotViewStyle()
Methods
Dispose(bool)
Dispose unmanaged resources in the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
Overrides
OnInitializedAsync()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree. Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
Overrides
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |