I want to make lists in a WinForms project like this one:
Is there an easy way to do it? or I have to code it by my self??
Would depend on whether or not you re using WinForms or WPF. In WPF, you could use list box templates:
http://msdn.microsoft.com/en-us/library/cc189093(v=vs.95).aspx. I think it would be harder in WinForms and I'm not aware of any controls that match the appearance you are looking for although you might check out the Telerik and DevExpress WinForm controls.
Related
I would like to use both Telerik WPF UI Controls and WPF own controls in the same project. I think WPF is quite good and I need only a few controls and themes from Telerik. However, when I mix them, not all WPF controls benefit from the themes of Telerik. I read that, Telerik only support a few of WPF controls like TextBox and etc. However, I could not find a way to achieve a WPF Window with a looking like RadWindow. I have been searching and found some answers about this topic, but I think they are a little bit disorganized.
In brief, I would like to use styles from Telerik for also other WPF Controls (non-Telerik ones), but I am not sure whether it is possible or not? When I use WPF Window and RADProgressBar together, of course it does not look very good. If mixing is not a good idea I am considering completely switching to WPF. I do not have much experience with Telerik and I do not want to struggle in a mess due to this mixed environment. I want to use both if it is possible to achieve a unified style for both controls (Telerik and non-Telerik).
Take a look at MahApps Metro (http://mahapps.com/), a WPF control toolkit that has styles to give your application a metro feel, as that is what a lot of the Telerik UI kit does as far as I can tell.
Is it possible to create a WPF control in C++/CLI, like in WinForms? If so, is there a sample/doc somewhere going through the process, since there is no such project type in vs2010.
Thanks
Yes, it's possible, but you will have to write code to create all your subcontrols and set their properties, because C++/CLI and XAML don't work together. It's very similar to writing a WinForms UI without the aid of the Forms Designer.
Start just by subclassing one of the WPF controls, perhaps Panel.
We have an application which is using winforms. Now we want to upgrade it.
We are planning to use some WPF forms and some old winforms. and we also need to use MDI.
From MDIParent we need to open both winforms and WPF forms. And these forms need to be in tile format. I got to know that WPF doesn't support MDI.
Is there any other way to achieve this?
Using AvalonDock, can we display the forms in tiles format also. I know that it display in Dockable format.
why you want to upgrade your application to wpf and still use some of your old winforms and the mdi concept any further?(i dont like mixup both:))
for quick and dirty what about using your winform app and integrate wpf in it - if you want/have to?
EDIT:
if you want your WinForms in Wpf you can use
<WindowsFormsHost />
It should work with Avalon too. Here is an example for WindowsFormsHost.
Is there a way to download more controls or anything, because I have seen a few things in other programs I don't think I've seen in the toolbox. Can you download new ones, or did the company somehow custom make a control? If it was custom made, are there any tutorials I can take a look at that tell how to make your own?
Some companies make third party controls for Winforms - Telerik is one I know of.
Personally, I prefer to make my own controls based on the existing WinForms ones, as I have more control over them - this prevents my products from having bugs which just can't be fixed. I can also tweak the controls to do exactly what I need, rather than choosing a closest match. Building custom controls is relatively easy if you have the experience.
There is a basic tutorial on CodeProject which shows how to create a fancy Button. After that you should be able to figure out how to customize more complex controls.
Side-note:
While it's reasonably easy to develop custom controls in WinForms if you have the time to practice, WPF is a much better framework for building custom controls. WPF controls are designed specifically for customization, so there is a lot more flexibility.
Which technology (WPF or Winforms) should be used if UI supposed to be highly customizable like controls layout/design could be change by user and such sort of UI customization.
Kindly mention best practices along to achieve that...
I just recently developed a designer in both WinForms (company req) and WPF (to see how much better it was). WPF has a definate edge, especially when it comes to nicer looking controls and control transparency.
This was my first actual WPF project, other than just messing around, so I was learning as I went. I found this series on creating a diagram designer very helpful. I didn't really do the same things that this article talks about, but more of a hybrid between that and my WinForms app.
I have to admit that the UI functionality was up and running much faster in the WPF version than with the WinForms version.
WPF I have found the easiest to create controls on a fly. Because I can just attach them as child controls to the parent, and the Grids, Dock Panels, just make life easier.
I found WinForms to be clunky to always work with. However I come from a Web background and Xaml makes sense to me.
WPF controls are design and lookless. That means you have a default view of them, but everything detail of a WPF control can be overridden. It's almost akin to using CSS. In the WPF world, you do not create custom controls like you do in WinForms. The main thing in WPF world is "styling" controls and defining a style for them. It just happens that the style also controls the layout and the form of the controls.
WPF is FAR superior for designing and style of UI. Check out these two top WPF companies and tell me if this stuff is easy to do in WinForms:
Cynergy Systems: http://www.cynergysystems.com/
Thirteen23: http://www.thirteen23.com/