Class
DateTimeList

A special RadLoopingList instance that visualizes DateTime values.

Definition

Namespace:Telerik.UI.Xaml.Controls.Input.DateTimePickers

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class DateTimeList : RadLoopingList

Inheritance: objectRadControlRadLoopingListDateTimeList

Inherited Members RadLoopingList.OrientationPropertyRadLoopingList.IsLoopingEnabledPropertyRadLoopingList.SnapOffsetCorrectionPropertyRadLoopingList.CenteredItemSnapPositionPropertyRadLoopingList.IsCenteredPropertyRadLoopingList.IsExpandedPropertyRadLoopingList.SelectedIndexPropertyRadLoopingList.ItemHeightPropertyRadLoopingList.ItemWidthPropertyRadLoopingList.ItemSpacingPropertyRadLoopingList.ItemTemplatePropertyRadLoopingList.ItemTemplateSelectorPropertyRadLoopingList.ItemStylePropertyRadLoopingList.ItemsSourcePropertyRadLoopingList.AnimateVerticalOffset(Duration, EasingFunctionBase, double)RadLoopingList.AnimateVerticalOffset(double)RadLoopingList.ApplyTemplateCore()RadLoopingList.OnManipulationStarted(ManipulationStartedRoutedEventArgs)RadLoopingList.OnManipulationDelta(ManipulationDeltaRoutedEventArgs)RadLoopingList.OnManipulationCompleted(ManipulationCompletedRoutedEventArgs)RadLoopingList.OnTapped(TappedRoutedEventArgs)RadLoopingList.OnPointerReleased(PointerRoutedEventArgs)RadLoopingList.SnapOffsetCorrectionRadLoopingList.OrientationRadLoopingList.CenteredItemSnapPositionRadLoopingList.IsCenteredRadLoopingList.IsLoopingEnabledRadLoopingList.IsExpandedRadLoopingList.SelectedIndexRadLoopingList.ItemWidthRadLoopingList.ItemHeightRadLoopingList.ItemSpacingRadLoopingList.FirstRealizedIndexRadLoopingList.ItemTemplateRadLoopingList.ItemTemplateSelectorRadLoopingList.VerticalOffsetRadLoopingList.IsInitializedRadLoopingList.ItemStyleRadLoopingList.ItemsSourceRadLoopingList.SelectedIndexChangedRadLoopingList.IsExpandedChangedRadControl.EndVisualStateUpdate(bool, bool)RadControl.UpdateVisualState(bool)RadControl.BeginVisualStateUpdate()RadControl.SetVisualState(string, bool)RadControl.CanUpdateVisualState()RadControl.ComposeVisualStateName()RadControl.MeasureOverride(Size)RadControl.ArrangeOverride(Size)RadControl.OnApplyTemplate()RadControl.UnapplyTemplateCore()RadControl.OnIsEnabledChanged(bool, bool)RadControl.OnLoaded()RadControl.CurrentVisualStateRadControl.IsLoadedRadControl.IsLoadingRadControl.IsUnloadedRadControl.WasUnloadedRadControl.IsTemplateApplied

Constructors

DateTimeList()

Initializes a new instance of the DateTimeList class.

Declaration

cs-api-definition
public DateTimeList()

Fields

SelectedBackgroundProperty

Identifies the SelectedBackground dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedBackgroundProperty

Field Value

DependencyProperty

SelectedForegroundProperty

Identifies the SelectedForeground dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedForegroundProperty

Field Value

DependencyProperty

StepProperty

Identifies the Step dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty StepProperty

Field Value

DependencyProperty

Properties

ComponentType

Gets or sets the component of the DateTime structure visualized by this list.

Declaration

cs-api-definition
public DateTimeComponentType ComponentType { get; set; }

Property Value

DateTimeComponentType

SelectedBackground

Gets or sets the Background of the rectangle area of the DateTimeListItem when the item is selected.

Declaration

cs-api-definition
public Brush SelectedBackground { get; set; }

Property Value

Brush

SelectedForeground

Gets or sets the Foreground of the rectangle area of the DateTimeListItem when the item is selected.

Declaration

cs-api-definition
public Brush SelectedForeground { get; set; }

Property Value

Brush

Step

Gets or sets the time step. The time step determines the step between to possible selection values in the current DateTimeList instance.

Declaration

cs-api-definition
public int Step { get; set; }

Property Value

int

Methods

LoadCore()

Called within the handler of the event. Allows inheritors to provide their specific logic.

Declaration

cs-api-definition
protected override void LoadCore()

Overrides RadLoopingList.LoadCore()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides RadLoopingList.OnCreateAutomationPeer()

OnGotFocus(RoutedEventArgs)

Called before the GotFocus event occurs.

Declaration

cs-api-definition
protected override void OnGotFocus(RoutedEventArgs e)

Parameters

e

RoutedEventArgs

The data for the event.

Overrides RadLoopingList.OnGotFocus(RoutedEventArgs)

OnLostFocus(RoutedEventArgs)

Called before the LostFocus event occurs.

Declaration

cs-api-definition
protected override void OnLostFocus(RoutedEventArgs e)

Parameters

e

RoutedEventArgs

The data for the event.

Overrides RadLoopingList.OnLostFocus(RoutedEventArgs)

OnPointerPressed(PointerRoutedEventArgs)

Called before the PointerPressed event occurs.

Declaration

cs-api-definition
protected override void OnPointerPressed(PointerRoutedEventArgs e)

Parameters

e

PointerRoutedEventArgs

Event data for the event.

Overrides RadLoopingList.OnPointerPressed(PointerRoutedEventArgs)

OnTemplateApplied()

Occurs when the method has been called and the template is already successfully applied.

Declaration

cs-api-definition
protected override void OnTemplateApplied()

Overrides RadLoopingList.OnTemplateApplied()

UnloadCore()

Called within the handler of the event. Allows inheritors to provide their specific logic.

Declaration

cs-api-definition
protected override void UnloadCore()

Overrides RadControl.UnloadCore()