GridTableStylesCollection.Remove Method (DataGridTableStyle)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes the specified DataGridTableStyle.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public void Remove(
	DataGridTableStyle table
)

Parameters

table
Type: System.Windows.Forms.DataGridTableStyle

The DataGridTableStyle to remove.

Use the Contains method to determine if a specific DataGridTableStyle exists before using the Remove method.

.NET Framework
Available since 1.1
Return to top
Show: