Creates a default table style object for the System.Web.UI.WebControls.DetailsView control.
A System.Web.UI.WebControls.Style that contains the default table style for the System.Web.UI.WebControls.DetailsView control.
The DetailsView.CreateControlStyle method is a helper method called by the System.Web.UI.WebControls.DetailsView control to create its default table style object. In addition to the default style setting of a System.Web.UI.WebControls.TableStyle object, this method also sets the properties in the following table.
TableStyle.GridLines |
GridLines.Both |
TableStyle.CellSpacing |
0 |