Advanced Forum Search Results
-
try to use ScrollViewer control.
-
First you have to use Canvas object to drag the button, create a class for this button with properties you want, example: ContentProperty to set a text in button, WidthProperty, HeightProperty... etc... you need to create all properties you want i have a dynamic method to drag a object, if you want it reply this post. But start creating the ...
-
I did this method to help in this case.
public static void Source(Image object, string path)
{
...
-
In silverlight you dont have limits to design, you can do anything you want. Example: a animate drop menu
-
After you set CanvasMenu.Height the value change ? if change you resized canvas ... but canvas <> grid ... all controls in canvas stay floating... in grid all stay fixed ...
-
First: Check MaxHeight property of CanvasMenu, after check height of canvasmenu on immediate window and check after get value from event.
-
peterdungan, the Remove() method remove only one specific control from the stackpanel or grid, and Clear() method remove all controls from stackpanel or grid, but Remove and Clear do the same thing (remove control) from stackpanel or grid, it wont works too, to work need to clear the old instance of control and instance the control again... ...
-
So... I think you cant do it, because this problem happens with me, and only new instance can be added in stackpanel or grid, but why dont you try set visibility of the control1 to collapse ?
-
First:This code set your app full screen mode:
Application.Current.Host.Content.IsFullScreen = !Application.Current.Host.Content.IsFullScreen;
Second:
To set the scale of your application into full screen mode you need to set Width and Height value of your LayoutRoot to "Auto" and HorizontalAlignment and ...
-
You can only add one instance of control1 ... if you want to add this control again you need to instance again:
object control1 = new object();
stackPanel.children.clear();
stackPanel.children.add(control1);
stackPanel.children.clear(); <<< this only remove all controls on stackPanel, but not remove the instance of control1... ...