Class TwPaginationTheme
- Namespace
- TwBlazor.Configuration.Components
- Assembly
- TwBlazor.dll
Theme configuration for the pagination component (TwPagination). Override any property to customize pagination styles globally.
[ExcludeFromCodeCoverage]
public class TwPaginationTheme
- Inheritance
-
TwPaginationTheme
- Inherited Members
Constructors
TwPaginationTheme()
public TwPaginationTheme()
Properties
ActiveButton
Gets or sets the classes applied to the active (currently selected) page button.
public required string ActiveButton { get; set; }
Property Value
Base
Gets or sets the base classes applied to all pagination buttons.
public required string Base { get; set; }
Property Value
Buttons
Gets or sets the classes applied to non-active (unselected) page number buttons.
public required string Buttons { get; set; }
Property Value
DenseSize
Gets or sets the sizing classes applied to every pagination button instead of Size when Dense is enabled.
public required string DenseSize { get; set; }
Property Value
DisabledButton
Gets or sets the classes for a previous or next button that is unavailable (on the first or last page). It stays focusable, so this dims its content without fading its focus ring. Falls back to the theme's disabled opacity and cursor when empty.
public string DisabledButton { get; set; }
Property Value
List
Gets or sets the classes for the root <ul> element listing the pagination buttons.
public required string List { get; set; }
Property Value
Size
Gets or sets the sizing classes (height, minimum width, horizontal padding and text size) applied to every pagination button by default.
public required string Size { get; set; }