Advanced Forum Search Results
-
OK, I came up with at least one solution for this:
Create your own ToolTip class derived from ToolTip (or just use existing ToolTip class, but I prefer extension because it lets you extend more in the future).
I then handle the Opened and Closed events of the tooltip and everytime a tooltip is opened I set my own "CurrentToolTip" ...
-
Hi,
I have a view I created that contains charts etc. Each bar chart has a tooltip within it. When I mouse over a bar and the tooltip comes up I can use my mousewheel and scroll my data, yet the tooltip remains exactly where it originally popped up even though I am on a completely different item.
My view is something custom I ...
-
Here's the OnSizeChanged code, its all you need:
canTest.Width = e.NewSize.Width;
canTest.Height = e.NewSize.Height;RectangleGeometry rg = new RectangleGeometry();rg.Rect = new Rect(0, 0, e.NewSize.Width, e.NewSize.Height);
canTest.Clip = rg;
NOTICE HOW THE RECTANGLE IS DRAWN BACKWARDS TOWARDS 0 INSTEAD OF FORWARDS TOWARDS THE END OF THE ...
-
Hi,
Noticed this by mistake yesterday when I put a bad value in that caused my canvas to be too wide:
I have a canvas that always consumes full silverlight user controls available space.
When the canvas is resized I set my RectangleGeometry for clipping to be the entire canvas width.
I create another canvas with a rectangle inside ...
-
Just thought I would post an update to another thing that I tried, but failed...
I thought that instead of setting a Style in my inherited control I would just set the properties directly, and let a style elsewhere override them. That of course doesn't work either because Silverlight takes individual property sets over the ...
-
Between working with your working project, and my broken project I have been able to figure it out.
Basically, my custom control class is re-used again in my application project (no controls project) as a control with application specific functionality. The thing that broke it was in my inherited class, within the constructor I was setting ...
-
Hi,
I have a custom control that is basically a composite control of other Silverlight controls. One control inside the control is a textblock. The textblock's Foreground property is template-binded to the custom controls Foreground property {TemplateBinding Foreground}.
Setting the custom controls Foreground property ...
-
I have a fairly large silverlight application code base and normally when I run debug mode it attaches to the code and I'm looking at my application < 5 seconds. (This is all on my local machine through an ASP.NET web site). However, sometimes (and for many times in a row) it sits their hanging for 30 seconds as if its trying to ...
-
Shawn,
Thanks for the response! This makes me feel a whole lot better about silverlight performance going forward. I'm certainly looking for more robust controls that can handle larger data sets. The MS DataGrid has seemed to do a good job of this while pretty near all other controls failed.
Thanks to the ...
-
Hi,
Love the TreeView control, but when I throw a ton of items in it performance of scrolling/expand collapse etc. comes to a halt. Scrolling one line is a 2 second delay. Expanding something is a 1 - 2 second delay. I tested with 5000 items on the root and 3 items in each root.
Any plans to improve the performance ...