Table of Contents

Class GridStyle

Namespace
BiExcellence.OpenBi.Api.GridStyles
Assembly
BiExcellence.OpenBi.Api.Client.dll

A single CSS-like property/value row within a GridStyleGroup. Group, style name and property name together identify the row.

public sealed record GridStyle : IGridStyle
Inheritance
object
GridStyle
Implements

Properties

GroupId

The id of the GridStyleGroup the row belongs to. Set from the route on write.

[JsonPropertyName("groupId")]
public string? GroupId { get; init; }

Property Value

string

PropertyName

The style property: BackgroundColor, FontColor, HorizontalAlignment, FontName, FontSize, FontItalic, FontBold, IndentLevel, WrapText, or Border{Top|Bottom|Left|Right}Color / Border{Top|Bottom|Left|Right}Visible.

[JsonPropertyName("propertyName")]
public string? PropertyName { get; init; }

Property Value

string

PropertyValue

The property value as a string: colors as #RRGGBB, alignment as left, center, right or justify, flags as true/false, numbers in invariant culture.

[JsonPropertyName("propertyValue")]
public string? PropertyValue { get; init; }

Property Value

string

StyleName

The named cell style the row belongs to, as an Excel named style: OPENBI... styles are used by biAnalytics, SAPBEX... styles by the document export.

[JsonPropertyName("styleName")]
public string? StyleName { get; init; }

Property Value

string