Hi,
I'm used to asp.net and skins + css for setting defaults for all my gridviews. Is there a simple way to accomplish the same thing for the datagridviews in winforms?
Properties like these are what I'm trying to keep in only one place, instead of setting them in the Properties pane or in each form's .VB file (like below):
Thanks for all input!
Pettrer
I'm used to asp.net and skins + css for setting defaults for all my gridviews. Is there a simple way to accomplish the same thing for the datagridviews in winforms?
Properties like these are what I'm trying to keep in only one place, instead of setting them in the Properties pane or in each form's .VB file (like below):
VB.NET:
gvTerm.ReadOnly = True
gvTerm.RowHeadersVisible = False
gvTerm.SelectionMode = DataGridViewSelectionMode.FullRowSelect
gvTerm.ScrollBars = ScrollBars.Vertical
gvTerm.AllowUserToResizeRows = False
gvTerm.MultiSelect = False
Thanks for all input!
Pettrer