Class SfDateTimeCombo
Represents a control that allows the user to select and edit a date by using a drop-down DateTimeItem control for each DateTime part.
Inheritance
Namespace: Syncfusion.UI.Xaml.Controls.Input
Assembly: Syncfusion.SfInput.UWP.dll
Syntax
[ClassReference(IsReviewed = false)]
public class SfDateTimeCombo : Control
Remarks
Constructors
SfDateTimeCombo()
Initializes a new instance of the SfDateTimeCombo class.
Declaration
[ClassReference(IsReviewed = false)]
public SfDateTimeCombo()
See Also
Fields
AMPMDesignatorComboStyleProperty
Using a DependencyProperty as the backing store for AMPMDesignatorComboStyle . This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty AMPMDesignatorComboStyleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
AMPMDesignatorItemTemplateProperty
Using a DependencyProperty as the backing store for AMPMDesignatorItemTemplate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty AMPMDesignatorItemTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
AMPMDesignatorItemTemplateSelectorProperty
Using a DependencyProperty as the backing store for AMPMDesignatorItemTemplateSelector. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty AMPMDesignatorItemTemplateSelectorProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DayComboStyleProperty
Using a DependencyProperty as the backing store for DayComboStyle . This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DayComboStyleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DayItemTemplateProperty
Using a DependencyProperty as the backing store for DayItemTemplate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DayItemTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DayItemTemplateSelectorProperty
Using a DependencyProperty as the backing store for DayItemTemplateSelector. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DayItemTemplateSelectorProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DisplayMaxDateProperty
Using a DependencyProperty as the backing store for DisplayMaxDate . This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DisplayMaxDateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DisplayMinDateProperty
Using a DependencyProperty as the backing store for DisplayMinDate . This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DisplayMinDateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
FormatStringProperty
Using a DependencyProperty as the backing store for FormatString. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty FormatStringProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
MinuteComboStyleProperty
Using a DependencyProperty as the backing store for MinuteComboStyle . This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty MinuteComboStyleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
MinuteIntervalProperty
Using a DependencyProperty as the backing store for MinuteInterval. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty MinuteIntervalProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
MinuteItemTemplateProperty
Using a DependencyProperty as the backing store for MinuteItemTemplate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty MinuteItemTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
MinuteItemTemplateSelectorProperty
Using a DependencyProperty as the backing store for MinuteItemTemplateSelector. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty MinuteItemTemplateSelectorProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
MonthComboStyleProperty
Using a DependencyProperty as the backing store for MonthComboStyle . This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty MonthComboStyleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
MonthItemTemplateProperty
Using a DependencyProperty as the backing store for MonthItemTemplate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty MonthItemTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
MonthItemTemplateSelectorProperty
Using a DependencyProperty as the backing store for MonthItemTemplateSelector. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty MonthItemTemplateSelectorProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SecondComboStyleProperty
Using a DependencyProperty as the backing store for SecondComboStyle . This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SecondComboStyleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SecondItemTemplateProperty
Using a DependencyProperty as the backing store for SecondItemTemplate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SecondItemTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SecondItemTemplateSelectorProperty
Using a DependencyProperty as the backing store for SecondItemTemplateSelector. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SecondItemTemplateSelectorProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SecondsIntervalProperty
Using a DependencyProperty as the backing store for SecondsInterval. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SecondsIntervalProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
TwelveHourComboStyleProperty
Using a DependencyProperty as the backing store for TwelveHourComboStyle . This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TwelveHourComboStyleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
TwelveHourItemTemplateProperty
Using a DependencyProperty as the backing store for TwelveHourItemTemplate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TwelveHourItemTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
TwelveHourItemTemplateSelectorProperty
Using a DependencyProperty as the backing store for TwelveHourItemTemplateSelector. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TwelveHourItemTemplateSelectorProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
TwentyFourHourComboStyleProperty
Using a DependencyProperty as the backing store for TwentyFourHourComboStyle . This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TwentyFourHourComboStyleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
TwentyFourHourItemTemplateProperty
Using a DependencyProperty as the backing store for TwentyFourHourItemTemplate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TwentyFourHourItemTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
TwentyFourHourItemTemplateSelectorProperty
Using a DependencyProperty as the backing store for TwentyFourHourItemTemplateSelector. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TwentyFourHourItemTemplateSelectorProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ValueProperty
Using a DependencyProperty as the backing store for SelectedDateTime. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
YearComboStyleProperty
Using a DependencyProperty as the backing store for YearComboStyle . This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty YearComboStyleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
YearItemTemplateProperty
Using a DependencyProperty as the backing store for YearItemTemplate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty YearItemTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
YearItemTemplateSelectorProperty
Using a DependencyProperty as the backing store for YearItemTemplateSelector. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty YearItemTemplateSelectorProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
AMPMDesignatorComboStyle
Gets or sets the data that is used as a style for the AMPMDesignatorCombo in SfDateTimeCombo
Declaration
public Style AMPMDesignatorComboStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
AMPMDesignatorItemTemplate
Gets or sets the AMPMDesignator ItemTemplate
Declaration
public DataTemplate AMPMDesignatorItemTemplate { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |
AMPMDesignatorItemTemplateSelector
Gets or sets the TemplateSelector for AMPMDesignator ItemTemplate
Declaration
public DataTemplateSelector AMPMDesignatorItemTemplateSelector { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.DataTemplateSelector |
DayComboStyle
Gets or sets the data that is used as a style for the DayCombo in SfDateTimeCombo
Declaration
public Style DayComboStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
DayItemTemplate
Gets or sets the Day ItemTemplate
Declaration
public DataTemplate DayItemTemplate { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |
DayItemTemplateSelector
Gets or sets the TemplateSelector for Day ItemTemplate
Declaration
public DataTemplateSelector DayItemTemplateSelector { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.DataTemplateSelector |
DisplayMaxDate
Gets or sets the data that is used as a style for the DisplayMaxDate in SfDateTimeCombo
Declaration
public DateTime DisplayMaxDate { get; set; }
Property Value
Type |
---|
System.DateTime |
DisplayMinDate
Gets or sets the data that is used as a style for the DisplayMinDate in SfDateTimeCombo
Declaration
public DateTime DisplayMinDate { get; set; }
Property Value
Type |
---|
System.DateTime |
FormatString
Gets or sets the data that is used as a format for SfDateTimeCombo.
Declaration
[ClassReference(IsReviewed = false)]
public string FormatString { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null. |
See Also
MinuteComboStyle
Gets or sets the data that is used as a style for the MinuteCombo in SfDateTimeCombo
Declaration
public Style MinuteComboStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
MinuteInterval
Gets or sets Minute interval
Declaration
public int MinuteInterval { get; set; }
Property Value
Type |
---|
System.Int32 |
MinuteItemTemplate
Gets or sets the MinuteItem Template
Declaration
public DataTemplate MinuteItemTemplate { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |
MinuteItemTemplateSelector
Gets or sets the TemplateSelector for Minute ItemTemplate
Declaration
public DataTemplateSelector MinuteItemTemplateSelector { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.DataTemplateSelector |
MonthComboStyle
Gets or sets the data that is used as a style for the MonthCombo in SfDateTimeCombo
Declaration
public Style MonthComboStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
MonthItemTemplate
Gets or sets the Month ItemTemplate
Declaration
public DataTemplate MonthItemTemplate { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |
MonthItemTemplateSelector
Gets or sets the TemplateSelector for Month ItemTemplate
Declaration
public DataTemplateSelector MonthItemTemplateSelector { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.DataTemplateSelector |
SecondComboStyle
Gets or sets the data that is used as a style for the SecondCombo in SfDateTimeCombo
Declaration
public Style SecondComboStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
SecondItemTemplate
Gets or sets the Second ItemTemplate
Declaration
public DataTemplate SecondItemTemplate { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |
SecondItemTemplateSelector
Gets or sets the TemplateSelector for Second ItemTemplate
Declaration
public DataTemplateSelector SecondItemTemplateSelector { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.DataTemplateSelector |
SecondsInterval
Gets or sets seconds interval
Declaration
public int SecondsInterval { get; set; }
Property Value
Type |
---|
System.Int32 |
TwelveHourComboStyle
Gets or sets the data that is used as a style for the TwelveHourCombo in SfDateTimeCombo
Declaration
public Style TwelveHourComboStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
TwelveHourItemTemplate
Gets or sets the TwelveHour ItemTemplate
Declaration
public DataTemplate TwelveHourItemTemplate { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |
TwelveHourItemTemplateSelector
Gets or sets the TemplateSelector for TwelveHour ItemTemplate
Declaration
public DataTemplateSelector TwelveHourItemTemplateSelector { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.DataTemplateSelector |
TwentyFourHourComboStyle
Gets or sets the data that is used as a style for the TwentyFourHourCombo in SfDateTimeCombo
Declaration
public Style TwentyFourHourComboStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
TwentyFourHourItemTemplate
Gets or sets the TwentyFourHour ItemTemplate
Declaration
public DataTemplate TwentyFourHourItemTemplate { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |
TwentyFourHourItemTemplateSelector
Gets or sets the TemplateSelector for TwentyFourHour ItemTemplate
Declaration
public DataTemplateSelector TwentyFourHourItemTemplateSelector { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.DataTemplateSelector |
Value
Gets or sets the value of the SfDateTimeCombo that hold the currently selected date.
Declaration
[ClassReference(IsReviewed = false)]
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is System.DateTime.Now. |
See Also
YearComboStyle
Gets or sets the data that is used as a style for the YearCombo in SfDateTimeCombo
Declaration
public Style YearComboStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
YearItemTemplate
Gets or sets the Year ItemTemplate
Declaration
public DataTemplate YearItemTemplate { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |
YearItemTemplateSelector
Gets or sets the TemplateSelector for Year ItemTemplate
Declaration
public DataTemplateSelector YearItemTemplateSelector { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.DataTemplateSelector |
Methods
add_ValueChanged(ValueChangedEventHandler)
Declaration
public void add_ValueChanged(ValueChangedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventHandler | value |
OnApplyTemplate()
Initializes all the child elements of SfDateTimeCombo control.
Declaration
protected override void OnApplyTemplate()
OnFormatStringChanged(DependencyPropertyChangedEventArgs)
Occurs when the SfDateTimeCombo control FormatString has changed.
Declaration
protected void OnFormatStringChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
OnValueChanged(DependencyPropertyChangedEventArgs)
Occurs when the SfDateTimeCombo control value has changed.
Declaration
protected void OnValueChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
remove_ValueChanged(ValueChangedEventHandler)
Declaration
public void remove_ValueChanged(ValueChangedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventHandler | value |
Events
ValueChanged
Occurs when current Value changed.
Declaration
[ClassReference(IsReviewed = false)]
public event ValueChangedEventHandler ValueChanged
Event Type
Type |
---|
ValueChangedEventHandler |