Hi,
Very sorry to ask this silly question. New to Infragistics as well as WPF.
Here is the problem. The following code adds content panes dynamically based on some event. Before adding any content pane i want to cleanup old items from the pane. The code looks fine for me. But the UI behavior is unchanged! I mean, every time the event is raised, the Clear pane is getting called, even then the flags are not cleared form the UI.\
this.languagesTabGroupPane.Items.Clear();
foreach (//some condition)
{
ContentPane cultureFlagPane = new ContentPane();
/*Initialize the pane ......*/
this.languagesTabGroupPane.Items.Add(cultureFlagPane); ;
}
Notice that, flags are duplicated!
From other thread (http://community.infragistics.com/forums/t/12170.aspx) I realized that panes collection is a collection of placeholder. Is thr a way of getting the panes out of these?