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

Represents a number item.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class NumberItem : DependencyObject

Inheritance: objectNumberItem

Constructors

Initializes a new instance of the NumberItem class.

C#
public NumberItem(string pattern, Color foreground)
Parameters:patternstring

The pattern.

foregroundColor

The foreground.

Fields

PatternProperty

DependencyProperty

Pattern dependency property.

C#
public static readonly DependencyProperty PatternProperty

TextProperty

DependencyProperty

Text dependency property.

C#
public static readonly DependencyProperty TextProperty

Properties

Foreground

SolidColorBrush

Gets or sets the foreground.

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

The foreground.

Gets or sets the pattern.

C#
public string Pattern { get; set; }
Property Value:

The pattern.

Gets or sets the text.

C#
public string Text { get; set; }
Property Value:

The text.