I have class library project with several custom user controls and a .design project to support DialogPropertyValueEditor with DependencyProperty registered with AddCustomAttributes.
builder.AddCustomAttributes(GetType(myCustomControl), "myProperty", PropertyValueEditor.CreateEditorAttribute(GetType(myDialogPropertyValueEditor)))
Using the controls in VS 2019 the ellipsis (3 dots) show correctly in each property.
correct with VS 2019
In VS 2022 only the data binding icon shows next to the property.
missing in VS 2022
How do I correct my projects for use in Visual Studio 2022 or change my VS environment to support the custom property editors?
Related
In older versions of blend, there have been a resources tab, like this:
Resources Window. In Blend for VS 2022 it's missing.
It does not help adding a custom command to show it, derscribed here for VS 2019.
So the functionality to make it easier to apply styles using the interface and just drag&dropping styles is dropped.
In Visual Studio 2019, WPF xaml designer is not loading in the design time showing as invalid markup but while building the project and in runtime the application is running along with the custom control works fine
In the design time is giving error as Error XDG0008 The name CustomControl does not exist in the namespace clr-namespace:xxxx.xxxx.xxx;assembly=xxx
Visual Studio 2019 designer error:
I have created a set of converter classes (IValueConverter) which can be used in XAML code of WPF application. All classes are documented fully with XML code documentations: summary of the class and its both convert methods including the parameters.
Now I wonder why the Visual Studio XAML Editor does not show any of my documentations.
How can I provide documentation with IntelliSense when a developer uses the Converter resource types the ConverterParameter?
It would be useful when IntelliSence shows my comments when typing ConverterParameter=.
Is this possible? What do I have to do?
Conveter classes only a one example where I would like to provide documentation. For custom user controls I would like to do the same.
I uses Visual Studio 2015 and Visual Studio 2017.
Because the Ribbon control is now included in VS 2011 now, I think I don't need to install that seperately, just need to add a reference to that DLL.
However, there is no WPF Ribbon Application Template for Visual Studio 2011, therefore Net 4.5 Framework.
What should I do to get it? Install the Microsoft Ribbon for WPF October 2010 seperately?
Use the normal WPF application template. In the MainWindows.aspx replace the root <Window> with <RibbonWindow> and add, as the first child (or first child of the root layout control) a <Ribbon>.
(You could then use the project to create a user template in the normal manner.)
The ribbon control is now integrated into the .net 4.5 framework, see reference on msdn and here
I want to use the AutoCompleteBox in my WPF application but i cannot find it in visual studio. I have VS 2010 ultimate. I just downloaded and installed WPFToolkit.msi and ran it. When i open VS i cannot find the control. Where can i find it? Do i have to reference it somehow? I also have the .dll but i dont know if i need to put that somewhere? Thank you.
The AutoComplete textbox is a componenet which is in the Preview Quality Band in the WPF Toolkit .So it is not available is visualstudio 2010.You need to download and install the Feb 2010 release of the WpfToolkit and follow the instructions from the below SO post
WPF: AutoComplete TextBox, ...again