« first day (1681 days earlier)      last day (3258 days later) » 

12:31 AM
anyone awake ?
 
@Abdul technically, yes
 
12:49 AM
:)
Can I get a quick help
Not sleeping because this is disturbing me
I want to turn a UIElement to an Bitmap using WritableBitmap
But I want the whole Grid say SharePanel without any part being cropped
Windows Phone Project
When I try, it is cropped to Screen Size
 
Makes sense
@AbdulMuhaymin Did a quick search, you would normally use VisualBrush for that
but it isn't available for store apps
 
I am working in Windows Phone 8.1 Silverlight
 
Looks like its not in that either
Can you show the code you are currently using?
 
Hmm...
Is the grid in a scroll viewer or something?
 
12:58 AM
There is a scroll viewer in Grid
 
Ah, it has a scroll viewer
 
Where all the contents are there
I tried without scroll viewer still it's cropping in screen size
 
Honestly I'm not sure
 
Fine...
Any way?
 
I think a big part of the issue is that the grid isn't the size of all the contents
 
12:59 AM
I am not understanding what to do with transform
 
its the size of the window
 
6
Q: Can I use Silverlight's WriteableBitmap to save non-visible parts of my UI to a bitmap?

r0u1iSay I have some grid that you need to scroll down to see all of its lines, and I'm interested in saving some lines that are not currently visible as a bitmap. Is it feasible, or do I have to actually scroll down, "take a snapshot", and then scroll up again? This is a feasibility question, and th...

 
You'd almost want the scroll viewer around an enourmous grid.
 
Just check this, and please explain if you understand what the answer say about transform
 
Yeah, I understand the transform piece
Unfortunately, I don't think it helps you here
unless you want to scale the grid down to size
even then I think you need to make the grid bigger
 
1:02 AM
is there way to set the size of grid programatically
height of all content added! :)
I am going to sleep... Hope will find something tomorrow :D
 
@AbdulMuhaymin Not easily, no
You could write a custom panel
or use a different panel that sizes differently
Grid sizes to its container
 
Canvas?
Canvas not working I tried
What are the other options?
 
1:24 AM
StackPanel
IIRC that one sizes to its contents
DockPanel, WrapPanel (not sure if those are in WP silverlight)
 
Yes
StackPanel Worked
 
Makes sense :)
 
Sorry
It is not working :P
I was exited as I saw Pixel height value more than 3000 for big data
but the rest part is black
only half is filled
My Brain stopped working... Going to Sleeo at 4:15 am
if you have suggestion, and if you don'
t mind pls mail me @ mampary at gmail com
 
@AbdulMuhaymin you may need to see if the outside content is virtualized
in which case it probably hasn't rendered yet
 
Yea, that might be the case
 
1:31 AM
anyways, hope you sleep better :)
 
But how to Clear Virtualization Property on in this particular page
 
not sure
starting to get outside my area of experience
 
good morning :P
fine.. thanks for your help dear
 
.... I'm going to assume that last bit is because you are tired
 
 
12 hours later…
1:05 PM
Wondering why files are not searched in Windows using file table?
 
 
7 hours later…
8:29 PM
Anyone ever had the problem of a window loading twice if that window's Loaded event contains some code to create a file using System.IO.File.WriteAllText? - For some reason my Window loads instantly, takes about 20seconds to write the file (it's pretty small) & once the file is written, it reloads the window for some reason
 
 
2 hours later…
10:25 PM
@BradleyDotNET so had another look into the suggestion I got on the registering data context of the ViewSubjectGradeViewModel. What I understand is that I need to declare an instance of the ViewSubjectGradeViewModel that takes a ScoreModel parameter going by what I've done in my previous project, https://github.com/BrianJVarley/Gesture_Physio/blob/master/AdductionAbductionFlexion/AdductionAbductionFlexionView.xaml.cs

This is what I've come up with as the solution although it doesn't work. https://gist.github.com/BrianJVarley/87a051d400ea1c7ffcfb
 
11:09 PM
timezone
 
VS2015RC unit tests seem to fail to attach to (or even launch) the assembly quite often, very frustrating. A full rebuild seems to let it attach ~90% of the time on the next launch, but after that- doomed again. XUnit, NUnit, and MSTest all seem affected. /rant
 

« first day (1681 days earlier)      last day (3258 days later) »