Hi,
In the application we are developing we have a Raddocking control which hosts a RadSplitContainer, inside of which is a RadPaneGroup. This RadPaneGroup acts a region. RadPaneGroupRegionAdapter is used to add panes to the target (which is a RadPaneGroup in this case). Below is the adding logic that is being used. The problem is that I have to bring the first rad pane into focus. Is there a way to that. Right now whenever a new pane is added the focus shifts to the newly added pane.
Appreciate any pointers
Thanks
YK
region.Views.CollectionChanged += (s, e) =>
{
switch (e.Action)
{
case NotifyCollectionChangedAction.Add:
foreach (var i in e.NewItems)
{
if (i is RadPane)
{
(i as RadPane).CanUserClose = true;
target.Items.Add(i);
continue;
}
}
}
}