I have a vb.net application with many data-entry forms. On some of these forms a Telerik RadMultiComboBox control is used. I want the VisualStudio2012Light theme applied to all of these controls. I have no trouble applying the theme on all forms but one. On that one form, VisualStudio2012Light is not an option. I change the theme thru Properties...StyleSheet...ThemeName in the Visual Studio designer. I can manually enter it by typing it in but it does not stick and goes back to the default theme.
Using Visual Studio 2022 and version 2022.2.622.40 of Telerik.
What am I doing wrong?
If you are using RadForm, the ThemeName property should work. You can drag-drop the VisualStudio2012Light theme from the ToolBox to the RadForm. Check the following image: enter image description here
Then from the Visual Studio Properties window, you can navigate to the ThemeName property and set it to the desired theme. The last step is to apply the theme to all controls from the smart tag of the RadForm. This should do the trick:
enter image description here
Related
Context
Viusal Studio 2019, Windows 11
.NET 5.0
Winforms Project
I have a VB.NET application with 3 form backgroundimage depending on working environment (Production, Integration, and Test).
I set this backgroundimage at application start when users choose the working environment and I store the backgroundimage in a public variable ```imgBackgroundFormUsed````
In the form designers, i set the background image for the forms and its controls using this variable, e.g:
Me.grpCorpusMetaDatas.BackgroundImage = imgBackgroundFormUsed
Problem
in Visual Studio, WYSIWIG form editor, the background image is set to None and the edition become pretty lame, considering that i set controls forecolor to white
Question
Is there anyway to set some kind of default background image in the Visual Studio WYSIWIG form editor, only for this particular project ?
I could set the appropriate backgroundimage when forms load but it would add lots of codes.
I've just installed VS 2022 preview to use Maui but there seems no way to see a designer view of the XAML, I want to drag and drop controls onto the page but all I get is an ancient looking XAML text view.
Visual Studio has removed the XAML designer. For now, there is no official plan to readd it.
But Visual Studio support Hot Reload to modify your apps managed source code while the application is running, without the need to manually pause or hit a breakpoint. You could preview the view at runtime when you change the UI. For more details, please check the blog. https://devblogs.microsoft.com/dotnet/introducing-net-hot-reload/
Like Cfun said, you could use live visual tree as well. It shows a tree view of the UI elements of your running Xamarin.Forms application. https://learn.microsoft.com/en-us/xamarin/xamarin-forms/xaml/live-visual-tree
For a WPF dotnet6 project, the XAML designer can be enabled here:
Don't know why it's disabled by default.
enter image description here
enter image description here
In this document, a user can open designer by right-clicking the xaml file, and choose View Designer. But, there is no command in the tooltip. How can I activate the designer?
I use Blend for Visual Studio, Community 2019, version 16.9 preview 5, for WinUI 3.0.
As the support page for WinUI 3 points out, there is currently
No XAML Designer support
I have created a Blank App (Universal Windows). It creates a MainPage.xaml automatically.I want to add a second page. When I select Add a New Item, XAML,
it createst a C++/cx blank page with no idl.
My question - what is the proper method to add a C++/winRT blank page to a Visual Studio Ap?
In Visual Studio 2008, when you add a new XAML window to a WPF Application Project, the default view you get is "split view" where the visual designer and the XAML code are shown one above the other in the same document.
I prefer an alternative view which you can get by double-clicking on either the Design or XAML tabs. The visual designer and the XAML are in separate side-by-side tabbed views. This makes it easy to switch between them
I want to know if it possible to make this the default view for all new XAML documents I add to my project, and where in the options you would set it.
Tools/Options/Text Editor/Xaml/Miscellaneous, check the "Always open documents in full XAML view"