aspxtreme

DataGridColumn.ItemStyle Property

System.Web.UI.WebControls Namespace   DataGridColumn Class


Sets the style properties for the item cells of a DataGridColumn.

Syntax

<asp:datagridcolumn ... 
   itemstyle-styleproperty=value />

Property Value

A TableItemStyle object that defines the style properties for the item cells of the column.

Remarks

Use this property to provide a custom style for the item cells of a DataGridColumn. Common style attributes that can be set include forecolor, backcolor, font, and content alignment within the cell. Providing a different style enhances the appearance of a column in the DataGrid control.

NOTE: The ShowItem property must be set to true for this property to have any effect.

See Also

DataGridColumn Members   HeaderStyle   FooterStyle



Books and more ...


Suggested Reading

Need a break ?



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support aspxtreme