I'm using the android designer in visual studio 2010, and I can put things on the layout without a problem. when i click to change the view from '4in WVGA (Nexus S)' to anything else, the background 'bounding box' changes size, but the content does not resize.
This happens even if I just create a brand new layout and don't put anything onto it.
Also, when I try to apply different themes, nothing changes. Anything I'm doing wrong, or is it a bug?
Found out that this is a known bug. MonoDevelop works fine. I assume they're working on it.
Related
I am using a .net core 3.1 WinForms Application.
Moving controls works perfectly fine outside of a tab control, but the moment I place a control inside of a TabPage I am unable to move it again. I can no longer select it from the designer either, and the only way I can is to select it from the properties menu.
After I access it from there, the only thing I can do is resize it, as shown in the image below:
Things I tried:
Made sure the component was not locked.
Pressed escape (as per the solution here)
Rebuilt the solution.
Restarted Visual Studio.
Deleted Visual Studio's AppData folder.
Made sure my Dock property was set to none.
Ensured Visual Studio is on my primary monitor
I really want to use tab pages with my application, but I don't want to keep resizing it everytime I want to move something, so any help is greatly appreciated.
Update: I decided to switch my project from .Net Core to .Net Framework and it now works, so it must have something to do with .Net Core. I'll leave this open if anyone has a solution for .Net Core.
I have made several controls over the past time through Folder > Add > User Control, then dragging an ObjectListview onto the designer and setting anchor/ dock etc then implementing the code.
Since this morning when drag an Objectlistview onto a control, it shows up as a component in the bottom tray instead of on the control's design canvas.
I can't remember installing any updates on either visual studio or the ObjectListview NuGet package, it's still 2.9.5 from 2017. The behaviour is the same in Visual Studio 2017 and 2019 preview..
I did install .Net Core SDK 2.2.402 ealier this week but this project references Framework 4.6.1..
When I add a standard TreeView or ListView etc onto the form they get added normally.
I'm comparing the code with other controls I created this way, both derive from UserControl. The control that works as normal has the line near the end of InitializeComponent()
this.Controls.Add(this.objectListView1);
For some reason for new controls I create that line isn't generated by the designer for ObjectListview.
If I manually add that line to InitializeComponent() the control does show up on the design canvas but I can't select it or do anything with it.
Does anyone have any idea what could cause this changed behaviour and how to fix this? I'm working sundays b/c I'm very busy this is really messing me up.
I was able to fix by uninstalling and reinstalling the nuget package.
I just wanted to know that, is it possible to get the designer view in Xamarin.Forms with Visual Studio 2015. It's very hard to compile code every time to check the simple changes.
Thank You in advance.
If you are using XAML to write the code you can use XAML Previewer for Xamarin.Forms You can see the documentation here:
https://developer.xamarin.com/guides/xamarin-forms/xaml/xaml-previewer/
Few things to keep in mind:
You need to be connected to MAC Agent to make it work (I am not sure
why this is the case even for Android, For me it does not work without connecting to mac agent)
The Previewer works on any ContentPage, ContentView, or ViewCell in
a Xamarin.Forms application
To launch the Previewer in Visual Studio, select View -> Other
Windows -> Xamarin.Forms Previewer
Latest-and-greatest Xamarin.Forms NuGet is recommended; at least
2.3.2 is required
Project should be built (compiled) before attempting to preview XAML
files.
This is a "Preview" release, so it may not always work as expected.
When using Android Designer in Visual Studio I can't toggle between the source and content of my view. From some reason in the same solution in Xamarin Studio I can do that. I have looked all over the place but it is not there, also from memory I was able to do this in this solution a while back.
I had a similar problem to this before which was solved once I renamed all the folders under Resources to lower case letters.
Below is a picture of the window with a missing and another one with the toggle buttons there (in Xamarin Studio).
Cheers,
When I drag controls from the toolbox to an .aspx page or the designer for that page nothing shows up. I am using Visual Studio 2010 with an existing website project.
** Update
It seems to work now... I'm not sure if this was specific to one project, or a combination of things.
Is the project under source control or in a read only state?
I think the project is so messed up it just doesn't work. If I start a new project it works, so I'm going to leave it at that