private void OnPropertyChanged(DataGridViewCellStylePropertyInternal property)
 {
     if ((this.dataGridView != null) && (this.scope != DataGridViewCellStyleScopes.None))
     {
         this.dataGridView.OnCellStyleContentChanged(this, property);
     }
 }
        private void OnPropertyChanged(DataGridViewCellStylePropertyInternal property)
        {
            if (this.dataGridView != null && this.scope != DataGridViewCellStyleScopes.None)
            {
                this.dataGridView.OnCellStyleContentChanged(this, property);
            }

            /*
             * if ((this.scope & DataGridViewCellStyleScopeInternal.Cell) == DataGridViewCellStyleScopeInternal.Cell)
             * {
             *  this.dataGridView.OnDataGridViewCellsStyleChanged(EventArgs.Empty);
             * }
             *
             * if ((this.scope & DataGridViewCellStyleScopeInternal.ColumnDefault) == DataGridViewCellStyleScopeInternal.ColumnDefault)
             * {
             *  this.dataGridView.OnDataGridViewColumnsDefaultCellStyleChanged(EventArgs.Empty);
             * }
             *
             * if ((this.scope & DataGridViewCellStyleScopeInternal.RowDefault) == DataGridViewCellStyleScopeInternal.RowDefault)
             * {
             *  this.dataGridView.OnDataGridViewRowsDefaultCellStyleChanged(EventArgs.Empty);
             * }
             *
             * if ((this.scope & DataGridViewCellStyleScopeInternal.DataGridViewDefault) == DataGridViewCellStyleScopeInternal.DataGridViewDefault)
             * {
             *  this.dataGridView.OnDefaultCellStyleChanged(EventArgs.Empty);
             * }
             *
             * if ((this.scope & DataGridViewCellStyleScopeInternal.DataGridViewColumnHeadersDefault) == DataGridViewCellStyleScopeInternal.DataGridViewColumnHeadersDefault)
             * {
             *  this.dataGridView.OnColumnHeadersDefaultCellStyleChanged(EventArgs.Empty);
             * }
             *
             * if ((this.scope & DataGridViewCellStyleScopeInternal.DataGridViewRowHeadersDefault) == DataGridViewCellStyleScopeInternal.DataGridViewRowHeadersDefault)
             * {
             *  this.dataGridView.OnRowHeadersDefaultCellStyleChanged(EventArgs.Empty);
             * }*/
        }
        private void OnPropertyChanged(DataGridViewCellStylePropertyInternal property)
        {
            if (this.dataGridView != null && this.scope != DataGridViewCellStyleScopes.None)
            {
                this.dataGridView.OnCellStyleContentChanged(this, property);
            }

            /*
            if ((this.scope & DataGridViewCellStyleScopeInternal.Cell) == DataGridViewCellStyleScopeInternal.Cell)
            {
                this.dataGridView.OnDataGridViewCellsStyleChanged(EventArgs.Empty);
            }

            if ((this.scope & DataGridViewCellStyleScopeInternal.ColumnDefault) == DataGridViewCellStyleScopeInternal.ColumnDefault)
            {
                this.dataGridView.OnDataGridViewColumnsDefaultCellStyleChanged(EventArgs.Empty);
            }

            if ((this.scope & DataGridViewCellStyleScopeInternal.RowDefault) == DataGridViewCellStyleScopeInternal.RowDefault)
            {
                this.dataGridView.OnDataGridViewRowsDefaultCellStyleChanged(EventArgs.Empty);
            }

            if ((this.scope & DataGridViewCellStyleScopeInternal.DataGridViewDefault) == DataGridViewCellStyleScopeInternal.DataGridViewDefault)
            {
                this.dataGridView.OnDefaultCellStyleChanged(EventArgs.Empty);
            }

            if ((this.scope & DataGridViewCellStyleScopeInternal.DataGridViewColumnHeadersDefault) == DataGridViewCellStyleScopeInternal.DataGridViewColumnHeadersDefault)
            {
                this.dataGridView.OnColumnHeadersDefaultCellStyleChanged(EventArgs.Empty);
            }

            if ((this.scope & DataGridViewCellStyleScopeInternal.DataGridViewRowHeadersDefault) == DataGridViewCellStyleScopeInternal.DataGridViewRowHeadersDefault)
            {
                this.dataGridView.OnRowHeadersDefaultCellStyleChanged(EventArgs.Empty);
            }*/
        }
 private void OnPropertyChanged(DataGridViewCellStylePropertyInternal property)
 {
     if ((this.dataGridView != null) && (this.scope != DataGridViewCellStyleScopes.None))
     {
         this.dataGridView.OnCellStyleContentChanged(this, property);
     }
 }