Class DataTemplateItem
Used for storing date/template pairs.
Inheritance
System.Object
DataTemplateItem
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class DataTemplateItem : Object
Constructors
DataTemplateItem()
Initializes a new instance of the DataTemplateItem class.
Declaration
public DataTemplateItem()
DataTemplateItem(DateTime, DataTemplate)
Initializes a new instance of the DataTemplateItem class.
Declaration
public DataTemplateItem(DateTime date, DataTemplate template)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | date | The date time value. |
System.Windows.DataTemplate | template | The data template. |
Properties
Date
Gets or sets date of the item.
Declaration
public DateTime Date { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | Type: System.DateTime |
See Also
System.DateTime
Template
Gets or sets template of the item.
Declaration
public DataTemplate Template { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.DataTemplate | Type: System.Windows.DataTemplate |
See Also
System.Windows.DataTemplate