System.Windows.Forms.GridTableStylesCollection.Remove(System.Windows.Forms.DataGridTableStyle)

Here are the examples of the csharp api class System.Windows.Forms.GridTableStylesCollection.Remove(System.Windows.Forms.DataGridTableStyle) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: clrprofiler
Source File: ReportForm.cs
View license
private void clearTableStyle()
		{
			if(dgToplevelDiff.TableStyles.Contains(this.styleBase))
			{
				styleBase.GridColumnStyles.Clear();
				dgToplevelDiff.TableStyles.Remove(this.styleBase);
			}
			if(dgCallee.TableStyles.Contains(this.styleCallee))
			{
				this.styleCallee.GridColumnStyles.Clear();
				dgCallee.TableStyles.Remove(this.styleCallee);
			}
			
			if(dgCaller.TableStyles.Contains(this.styleCaller))
			{
				this.styleCaller.GridColumnStyles.Clear();
				dgCaller.TableStyles.Remove(this.styleCaller);
			}

			if(dgSelected.TableStyles.Contains(this.styleSelected))
			{
				this.styleSelected.GridColumnStyles.Clear();
				dgSelected.TableStyles.Remove(this.styleSelected);
			}
		
		}