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

Represents a date / time item.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class DateTimeItem : DependencyObject

Inheritance: objectDateTimeItem

Constructors

Initializes a new instance of the DateTimeItem class.

C#
public DateTimeItem(string pattern)
Parameters:patternstring

The pattern.

Fields

PatternProperty

DependencyProperty

Pattern dependency property.

C#
public static readonly DependencyProperty PatternProperty

TextProperty

DependencyProperty

Text dependency property.

C#
public static readonly DependencyProperty TextProperty

Properties

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.