Пример #1
0
        internal void SetGroup(Group group)
        {
            m_group      = group;
            this.Content = m_group;
            GroupHeaderControl.SetGroup(this, group);

            this.RaisePropertyChanged("Group");
        }
Пример #2
0
        private static void OnParentGridControlChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            DataGridControl    grid = e.NewValue as DataGridControl;
            GroupHeaderControl groupHeaderControl = sender as GroupHeaderControl;

            if ((groupHeaderControl != null) && (grid != null))
            {
                groupHeaderControl.PrepareDefaultStyleKey(grid.GetView());
            }
        }
Пример #3
0
        internal void SetGroup(Group group)
        {
            m_group      = group;
            this.Content = m_group;
            GroupHeaderControl.SetGroup(this, group);

            if (this.PropertyChanged != null)
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs("Group"));
            }
        }