internal void SetGroup(Group group) { m_group = group; this.Content = m_group; GroupHeaderControl.SetGroup(this, group); this.RaisePropertyChanged("Group"); }
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()); } }
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")); } }