mr60
asked on
Problem with Table columns Anchor property
Hi.
I have a " DataGrid " and its source is a " DataTable ".
this DataTable have two " DataColumn ".
I want to create Anchor for my Table columns such that
when user enlarge form, the datagrid and its columns be enlarged.
datagrid.Anchor work properly, but I could not create anchor
for Table columns; I test following way :
DataGridTextBoxColumn myColumnStyle1 ;
// some codes
myColumnStyle1.TextBox.Anc hor = // set proper anchor
but it dosen't work.
How I can solve this problem.
THANK YOU.
I have a " DataGrid " and its source is a " DataTable ".
this DataTable have two " DataColumn ".
I want to create Anchor for my Table columns such that
when user enlarge form, the datagrid and its columns be enlarged.
datagrid.Anchor work properly, but I could not create anchor
for Table columns; I test following way :
DataGridTextBoxColumn myColumnStyle1 ;
// some codes
myColumnStyle1.TextBox.Anc
but it dosen't work.
How I can solve this problem.
THANK YOU.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.