Skip to content

Background

Thomas Möller edited this page Nov 12, 2022 · 2 revisions

Class name

Background

Purpose / Description

This class contains methods and properties corresponding to the background.

Methods

  • none

Properties


Detailed description

The following sections contain a detailed description of the methods and properties.

Color

Description:

With this property you can specify the background color. By default, the background color is empty.

You can specify the background color in four ways:

  • rgba-code: rgba(77,22,66,0.5)
  • rgb-code: rgb(128,255,73)
  • hex-code: #FF77A1
  • color name: green

Default value:

{empty}, which leads to white

Sample code:

myPivot.Styles.Default.Background.Color = "red"

Related to:

Opacity

Opacity

Description:

With this property you can specify the opacity of the background color.

Default value:

{empty}, which leads to "1"

Sample code:

myPivot.Styles.Default.Background.Opacity = 0.8

Related to:

Color

Clone this wiki locally