Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
265
Content Pane tabs are not getting removed dynamically!
posted

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); ;

}

Parents Reply Children
No Data