Inheritance: System.Windows.Controls.ListBox
Esempio n. 1
0
        private void UpdateVisualTree()
        {
            container = GetTemplateChild(PART_MonthDays) as FXMonthViewContainer;
            if (container != null)
            {
                container.ItemsSource       = CalendarDays;
                container.SelectionChanged += OnContainerSelectionChanged;
                //container.LayoutUpdated += OnContainerLayoutUpdated;

                RefreshDaysTemplate();
            }
        }
Esempio n. 2
0
        private void UpdateVisualTree()
        {
            container = GetTemplateChild(PART_MonthDays) as FXMonthViewContainer;
            if(container != null)
            {
                container.ItemsSource = CalendarDays;
                container.SelectionChanged += OnContainerSelectionChanged;
                //container.LayoutUpdated += OnContainerLayoutUpdated;

                RefreshDaysTemplate();
            }
        }