This is a migrated thread and some comments may be shown as answers.

Access raddock in command event

1 Answer 18 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Karl
Top achievements
Rank 1
Karl asked on 05 Oct 2012, 10:34 AM
Hi
Is it possible in the command event of a radDock to access another radDock. I know I can get the sender raddock but I need to get hold of another raddock so I can change it's skin.

thanks

1 Answer, 1 is accepted

Sort by
0
Karl
Top achievements
Rank 1
answered on 05 Oct 2012, 11:09 AM
Solved it like this
for (int i = 1; i < RadDockLayout1.RegisteredDocks.Count(); i++)
            {
                if (RadDockLayout1.RegisteredDocks[i].ID.ToString() == ActiveSummaryDockID)
                {
                    RadDockLayout1.RegisteredDocks[i].Skin = "WebBlue";
                    break;
                }
            
            }
Tags
Dock
Asked by
Karl
Top achievements
Rank 1
Answers by
Karl
Top achievements
Rank 1
Share this question
or