コード例 #1
0
ファイル: DateTimeList.cs プロジェクト: zach14c/UI-For-UWP
        private static void OnTypeDelayTimerTick(object sender, object e)
        {
            typeDelayTimer.Stop();

            DateTimeList focusedList = FocusManager.GetFocusedElement() as DateTimeList;

            if (focusedList != null)
            {
                focusedList.ResetCurrentTypedInput();
            }
        }
コード例 #2
0
ファイル: DateTimeList.cs プロジェクト: zach14c/UI-For-UWP
        private static void OnStepChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            DateTimeList list = (DateTimeList)sender;

            if (!list.IsTemplateApplied)
            {
                return;
            }

            list.UpdateListWithStep();
        }