コード例 #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");
        }