예제 #1
0
        private static void OnDataFieldHeightChange(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            DataCombox control = d as DataCombox;

            if (control != null)
            {
                control.OnPropertyChanged("DataFieldHeight");
                control.OnDataFieldHeightChanged(e);
            }
        }
예제 #2
0
        private static void OnLabelVisibleChange(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            DataCombox control = d as DataCombox;

            if (control != null)
            {
                control.OnPropertyChanged("LabelVisible");
                control.OnLabelVisibleChanged(e);
            }
        }
예제 #3
0
        private static void OnContentWidthChange(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            DataCombox control = d as DataCombox;

            if (control != null)
            {
                control.OnPropertyChanged("ContentWidth");
                control.OnTextContentWidthPropertyChanged(e);
            }
        }
예제 #4
0
        private static void OnItemsDependencyProperty(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            DataCombox dataCombox = d as DataCombox;

            dataCombox.OnPropertyChanged("Items");
        }