Skip to main content
Home Forums Silverlight Programming Report a Silverlight Bug Cursors don't work in tabs when setting parent
3 replies. Latest Post by Yi-Lun Luo - MSFT on August 27, 2008.
(0)
caseynsh...
Member
20 points
99 Posts
08-22-2008 1:21 PM |
First, the cursors not working across user controls is very tough.
Second. even if you set them on the parent, they don't work on tab items.
In order to use the wait cursor.. i have to go through every tab and set it's cursor, then i have to go through every tab, get it's content and set it's cursor... that's not realistic...
((
Yi-Lun L...
All-Star
25052 points
2,747 Posts
08-26-2008 12:23 AM |
Hello, can you post some code? Do you have a series of TabItems in a TabControl, and you want to set cursor to wait on all of them? If so, you simply need to set the TabControl's Cursor to Wait. Note in Beta2, this approach may not affect the TabItem's header (only the TabItem's body is affected). This should have been fixed internally already. But I can't 100% assure you at this time...
08-26-2008 9:48 AM |
At actually seems to be the opposite, it works on the tabitem header, but no where else.
<
</
using
{
InitializeComponent();
}
MyTabControl.Cursor =
eventTimer.Interval =
eventTimer.Start();
Study.Width = 0;
Study.Width = 100;
tb.Height = 200;
tb.Width = 200;
Study.Content = sc;
eventTimer.Stop();
StudyList.Width =0;
Map.Width = 0;
08-27-2008 2:54 AM |
Yes, sometimes the cursor doesn't behavior correctly in Beta2. But when I tested your application in an internal newer build, it always worked fine. So hopefully this issue has already been fixed.