Class DataTemplateItem
Used for storing date/template pairs.
Inheritance
System.Object
DataTemplateItem
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class DataTemplateItem
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