Advanced Forum Search Results
-
My silverlight app's root UserControl does not define its dimensions.
It has a root Canvas object which is specified as 1024 x 768 in size.
In my code, on page view changed event i update the x and y scale of the app so that it always takes up the entire browser window (is there a better way to do this????)
The issue:
Once i place ...
-
Awesome! I didn't even know about the Add as link option!
This changes everything.... this is probably how the ClientConfig file was intended to be added, perhaps?
It sure beats copying/moving the file around, or even worse, adding it manually to the xap!!
-
I can't believe how much trouble im getting witht he clientconfig.
But it looks like the recent posts here are promising!!
How do you "link" the clientconfig file from a class library to the application?
Thanks!!!
-
Thanks anyeone, for your input.
Maybe i should explain what i am trying to do and the obstacle that i faced.
I started off with a Grid as the root. Within the grid i have controls within a grid cell. One of the controls spans the entire grid (columnspan and rowspan).
Thus, the control that spans the entire grid takes up the entire ...
-
Ok, thanks guys for all the help, but im seeing new issues.
I placed the Grid within a Canvas. My canvas now defines the width and height.
However, now the Grid does not fill up the screen the way it used to. It fills up like 24% of the screen and the rest is the emtpy canvas.
Using the stretch alignment attributes (to the Canvas or Grid) ...
-
ok. this stretch attributes are new to me. i will definitely try that.
But... this begs the question.... what difference is there between using the stretch attributes and using the FullScreen boolean?
-
Just the kind of answer i was looking for.
Thanks!
-
amyo, I am aware of the fullscreen boolean. But i was just wondering why the root Grid is fullscreen by default (or is it not?).
Also, in your snippet, to make it resemble mine, replace the Button with a Grid (Grid is inside the Canvas).
...So basically im just curious why placing a Grid inside a Canvas behaves differently from just have ...
-
When you create a new UserControl the LayourRoot is a Grid by default.
Well, I can't seem to figure this one out, but with my Grid being the root, the entire browser windows is rendered (full screen).
However, if i place the Grid within a Canvas, with the Canvas being the LayoutRoot, then the full browser is not utilized (there is plenty of ...
-
Because if i dont specify Canvas.Top and Canvas.Left, the default values for them are 0.
But anyhow, i DONT want any margins (offsets) between the UserControl/Canvas and the top-left corner of the screen (i think).
I am ultimately displaying my app within a web part.
The weridness that i'm seeing is this:
- I have to specify the web part ...