How to develop an application looks like VS.NET in WPF? - wpf

I want to develop Error List Control present in VS.NET into my application using WPF
Help me
Thank u!!!!!!!!1

have a look at AvalonDocks

The error list in Visual Studio is essentially a DataGrid. Check out the DataGrid control in the WPF Toolkit. If you are using 4.0, DataGrid is part of the framework.

Related

Cant find DatePicker in WPF

I am using visual studio 2008.
I am learning WPF.
I want to have a Masked TextBox or DatePicker in WPF.
But I don't find them in toolbox.
I have tried to Reset the toolbox but still cant find it.
I have also tried to choose control from .NET Library but there also no control found named DatePicker for WPF.
The WPF 1.0 does not provide such controls.
I highly recommend you the WPF Toolkit.

AutoCompleteBox not found in wpf toolkit using visual studio 2012

This is really a wanted feature, AutoCompleteBox (not AutoCompleteComboBox apparently).
However, visual studio 2012 cannot find the AutoCompleteBox control. But I have not tried in earlier version of vs, so it may not be a version matter.
I installed wpf toolkit, added those extensions to my WPF project:
WPF Toolkit
WPF Toolkit Design
WPF Toolkit Input Design
WPF Toolkit Input Visual Studio Design
WPF Toolkit Layout
WPF Toolkit Layout Visual Studio Design
WPF Toolkit Visual Studio Design.
Looks almost like virii to me. Every permutation of words are used...
Well well in my WPF project, I added
xmlns:toolkit="http://schemas.microsoft.com/wpf/2008/toolkit"
to a window and tried to also add a auto complete box like this:
<toolkit:AutoCompleteBox />
but AutoCompleteBox does not seem to exist, the first component that is listed when I have typed
<toolkit:
is ButtonBaseBehavior.
Not all the toolkit controls are included in the "main" namepace.
Let me explain it how are the toolkit dlls are built up:
You can also install the WPF toolkit through NuGet:
PM> Install-Package WPFToolkit
It will add three dlls to your project:
WPFToolkit.dll this contains the core/stable controls of toolkit which can be found in the xmlns:toolkit="http://schemas.microsoft.com/wpf/2008/toolkit"
System.Windows.Controls.Input.Toolkit.dll this dll contains the preview controls like AutoCompleteBox and Rating
System.Windows.Controls.Layout.Toolkit.dll this dll contains the preview layout controls like the Accordion
The preview controlls are not included in the main xmls namespace so you need to use a the namespace form the corresponding preview dll:
xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"
<controls:AutoCompleteBox />
Add a reference to (Included in WPFToolkit):
System.Windows.Controls.Input.Toolkit.dll
and then in your xaml at the top:
xmlns:System_Windows_Controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"
and for using it anywhere in your code just like this:
<System_Windows_Controls:AutoCompleteBox />

Winforms toolbox tools for WPF

I'm new to WPF and I'm wondering is there anyway to have elements from Winforms toolbox in WPF. I mean the Winforms toolbox has a lot of elements and they're not present in WPF toolbox. for example something like PerformanceCounter in Winforms toolbox is not found in WPF toolbox.
thanks in advance
There are some controls that didn't get represented in WPF, but you can use WindowsFormsHost. As the name indicates, it's purpose is to host the Windows Forms elements.
Walkthrough: Hosting a Windows Forms Control in WPF
I would add that things like PerformanceCounter you can use in code, rather than placing it on a form. Other elements which do have a UI purpose can be placed inside a WindowsFormsHost control. I do this with ReportViewer -- it's a Windows Forms control that has no WPF equivalent.

How to get datagrid to show in toolbox

I am new to wfp and am looking for the datagrid tool, how do I add it to the toolbox. I have checked in the options and it all appears checked etc.
Thanks, R.
I think problem is in .Net version of project. 3.5 .Net does not support DataGrid in wpf, so, to solve this problem just change .net version of project. For example choose .net 4.0
Right Click the Toolbox. Select "Choose Items...". In the WPF Components Tab, in the Filter Textbox type DataGrid. From there you can add it to the Toolbox.
Yes 3.5 does not support wpfg windows controls just change project .net version to 4.0 and check.

Is there a OpenForms Property in WPF?

In WinForms you can get a list of all open windows using Application.OpenForms? Is there a WPF version of that?
You're looking for Application.Windows.

Resources