New to Telerik UI for WPFStart a free 30-day trial

Provides methods and properties for using theme color preview control.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class SmallThemeColorPreviewControl : Control

Inheritance: objectSmallThemeColorPreviewControl

Constructors

Initializes a new instance of the SmallThemeColorPreviewControl class.

C#
public SmallThemeColorPreviewControl()

Fields

Accent1Property

DependencyProperty

The Dependency property Accent1Property specifying Accent1 color.

C#
public static readonly DependencyProperty Accent1Property

Accent2Property

DependencyProperty

The Dependency property Accent2Property specifying Accent2 color.

C#
public static readonly DependencyProperty Accent2Property

Background2Property

DependencyProperty

The Dependency property Background2Property specifying Background2 color.

C#
public static readonly DependencyProperty Background2Property

RadSpreadsheetProperty

DependencyProperty

The Dependency property RadSpreadsheetProperty.

C#
public static readonly DependencyProperty RadSpreadsheetProperty

Text2Property

DependencyProperty

The Dependency property Text2Property specifying Text2 color.

C#
public static readonly DependencyProperty Text2Property

Properties

Accent1

SolidColorBrush

Gets or sets the accent1 color.

C#
public SolidColorBrush Accent1 { get; set; }
Property Value:

The accent1 color.

Accent2

SolidColorBrush

Gets or sets the accent2 color.

C#
public SolidColorBrush Accent2 { get; set; }
Property Value:

The accent2 color.

Background2

SolidColorBrush

Gets or sets the background2 color.

C#
public SolidColorBrush Background2 { get; set; }
Property Value:

The background2 color.

Gets or sets the RadSpreadsheet of the SmallThemeColorPreviewControl.

C#
public RadSpreadsheet RadSpreadsheet { get; set; }
Property Value:

The RadSpreadsheet of the SmallThemeColorPreviewControl.

Text2

SolidColorBrush

Gets or sets the text2 color.

C#
public SolidColorBrush Text2 { get; set; }
Property Value:

The text2 color.

Methods

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.