| |||||||||||||
GridView.HorizontalAlign PropertySystem.Web.UI.WebControls Namespace GridView Class .NET Framework version 2.0 Sets or retrieves the horizontal alignment of a data listing control within its container. Syntax
Property Value
The property is read/write with a default value of NotSet. RemarksUse the HorizontalAlign property to specify the horizontal alignment of a data listing control within its container. This property is set with one of the HorizontalAlign enumeration values. ExampleThe sample below shows how to programmatically set the HorizontalAlign property of a DataGrid at run time, depending on user input. The code also demonstrates how simple it is to retrieve the available system horizontal align styles and dynamically add each to a selectable list.
See Also |
| ||||||||||||
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