Advanced Forum Search Results
-
This has probably been answered elswehere by now, but I found that I had to reset the position of the stream back to 0(zero), then create another BitMap image from the stream to reuse the data.
-
Hi Alan,
Your are 100% correct in your understanding - I am essentially usng LINQ to do my sorting via a WCF Service, against a very large data set, so it's never all at the client. By far the hardest thing to do was implement a custom scroll bar relative to a dataset I don't actually have ... but thats another story.
I actually ...
-
Do you have enough rows of data in your grid to need the scrollbar? I believe it's only visible when needed ...
-
I have a very heavily customised (templates et' all) version of the DataGrid. The grid runs against an indeterminate amount of data and so I have implemented my own Sort functionality by adding a MouseLeftButtonUp event to the ControlTemplate of the DataGridColumnHeader, e.g:
<ControlTemplate ...
-
I found that using SelectedItems.Clear() worked for clearing this in Beta 2
-
Good ideas "flyte" - I had implemented a proxy/tunnel to stop multiple events firing - but then I realised I could create my own scrollbar by inheriting the Slider and adding a few more components. http://silverlight.net/forums/p/17446/68961.aspx#68961
Then I can replace the Scrollbar on my Grid with this one and hopefully I ...
-
Let me know how it works out.
I have been 100% in the 1.0 SL word up until now, so this is all new stuff to me too. Cool stuff though.
-
I have fighting this same issue for a while now. The best solution seems to be inheriting the slider and exposing your own events as needed. Something like this:
public class DragSlide : Slider
{
/// <summary>
/// Thrown when the thumb has been clicked, and dragging is initiated
/// </summary>public event ...
-
It appears that the MouseLeftButtonUp event is well and truely swallowed by the controls code behind! I could add a Mouse Down event, but not a mouse up.
Any other workarounds?
-
I am trying to use a ScrollBar to get pages of data back from a WCF service to display on a Grid View. We only get back one page worth of data at any time given the sheer volume of data, so we need to identify the current “Index/position” of the scrubber/thumb on the ScrollBar. Until Beta 2, we were able to use the MouseLeftButtonUp ...