You need to expose the properties you want to modify in your user control. For example, to change the column count property of the table layout control, from your user control, you have to expose the ColumnCount property: c# Control
public partial class UserControl1 : UserControl
{
public UserControl1()
{
InitializeComponent();
}
public int ColumnCount
{
get
{
return this.tableLayoutPanel1.ColumnCount;
}
set
{
this.tableLayoutPanel1.ColumnCount = value;
}
}
}