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

Hide VisualCue OnLoad

4 Answers 26 Views
Docking
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 12 Aug 2009, 07:15 AM
Hello,

I would like the VisualCue control to be hidden on load of the Docking Control - currently you can see it in the top left hand corner (as seen in the Telerik Demo), until you start and complete a drag operation, which is less than ideal.

I am able to re-template this control and set the background property to that of the Docking Control, so it blends in with the root control and appears hidden, but then i'm stuck with that colour when the Visual Cue renders as the user attempts to dock a pane.

Is there a better way around this? Am I able to hide this control within Xaml until it is needed somehow? Or are you (Telerik) able to hide the control OnLoad of the page, as it is not required to be visible at that point (and ideally shouldn't be!)

Thanks,

James.

4 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 12 Aug 2009, 10:39 AM
Hi James,

I couldn't reproduce this issue (I cannot see the VisualCue if I'm not dragging an Item). Could you please open a support ticket and send us an example that reproduces the problem or a step-by-step how do you achieve this. You could provide a screen shot as well.

Regards,
Miroslav Nedyalkov
the Telerik team

Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.
0
James
Top achievements
Rank 1
answered on 13 Aug 2009, 05:04 AM
Hi Miroslav,

Thanks for the quick response.

I have posted a screen shot - it's actually quite hard to pick up using the Telerik standard theme as it's grey on grey, but I've blown up the screen shot so you can see exactly what I mean.

http://www.flickr.com/photos/36587020@N04/3816250399/

Cheers,

James.
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 13 Aug 2009, 08:09 AM
Hi James,

Thank you for your efforts! We've found out why the VisualCue is visible and will fix this in the default theme for the next release. Until then you could just set a style to the VisualCue where you set its visibility to Collapsed. Here is an example:
<radDock:RadDocking.VisualCueStyle> 
    <Style TargetType="docking:VisualCue"
        <Setter Property="Visibility" Value="Collapsed" /> 
    </Style> 
</radDock:RadDocking.VisualCueStyle> 

Your Telerik points were updated.

Regards,
Miroslav Nedyalkov
the Telerik team

Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.
0
James
Top achievements
Rank 1
answered on 13 Aug 2009, 10:12 AM
Ok thanks!
Tags
Docking
Asked by
James
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
James
Top achievements
Rank 1
Share this question
or