Exemplo n.º 1
0
        private static void OnDataFieldHeightChange(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            DataCombox control = d as DataCombox;

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

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

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

            dataCombox.OnPropertyChanged("Items");
        }