I need a treeview in .net with supported multi selection.
A own implementation in wpf or winforms ( this two don't have multi selection out of the box !? ) is a no go, i need the multi selection visible in the ms ui automation framework.
Do anyone know if this is possible with the win32 treeview ? Or know a way how to implement multiselection in wpf / winforms which is also visible in the automation framework ?
Technically, even the awesome Infragistics controls are visible to the UI automation framework, but I think you need to use the 'core classes' with the legacy msaa pattern (that is what I do with Infragistics and Ui Automation).
As far as something more friendly and free, I'd suggest trying this:
http://www.codeproject.com/Articles/20581/Multiselect-Treeview-Implementation
I use it and have been very happy with it. I don't actually automate it, but use it elsewhere. I would think that it is UI Automation friendly, though, based on looking at the code a bit.
Related
Can someone please guide me regarding which touch framework (javascript) I should use to make a tablet app? I am new to this area and I am looking for something which allows me to play with my own UI design comfortably.
I went through sencha as I heard its apt for a tablet app environment but I am (sorry, it might sound odd) not able to make out whether I can use my own UI design to make app in sencha. Or any other framework (stable) allows to use custom UI design?
There aren't any major differences between handsets and tablets, except for the screen size. For example, what you would show in a handset in one long scrolling screen, would be shown in a split-screen on a tablet (I am concentrating on the user-experience here).
Split-screen support in still rare in the jscript frameworks, since webkit browsers didn't fully support scrolling only parts of a page (i.e. an iframe or overflow:scroll divs), this support is only now starting to get materialized with iOS5 (Android already had this since 2.2, but it never worked right).
There have been other jscript solutions (like iScroll), but being client code they are not always bringing the full "experience" to the client.
The JQuery-Mobile docs have a version under testing, you can try that in a tablet/handset to see the differences.
Regarding your "own UI design", if you mean colors/icons/buttons that's possible on any framework. Where the problems start is when you want to create custom layouts, and each framework provides partial support depending on what exactly you want to achieve.
In general, I'd say Sencha totally separates you from HTML design - you build everything using JSON controls and it has an extensive events/rendering code (of course you can write your own controls), whereas frameworks like JQuery mobile work directly on the HTML (you specify data-* attributes for the details) and renders it almost the same (ok, it does adds wrapping layers, but in general it's still pure HTML).
As always, "it depends" on what you want to achieve and what you are ready to give up... ;-)
Sencha Touch (our framework) is particularly well suited to tablet apps because it has an implementation of multiple scrollable areas that works on older iOS and RIM devices, not just iOS5. But, the intention with Sencha Touch is that you create your app using the built-in UI components (carousels, momentum lists, tabs, etc.) or, if you have unique UI elements, then you will need to extend an existing component or build a custom component. If you're expecting to be able to slap some of your own HTML into innerHTML or even a Touch xTemplate, then you will be setting yourself up for failure. But the good news is that there are tutorials on doing your own components, and there are plenty of apps that you can look at the source of, in order to guide your development. Lots of people have built apps with custom UI's
You need some level of JavaScript experience to use Sencha Touch, so if you're coming from a non-JavaScript web design background, you'll have to get down the JavaScript learning curve first.
Is it possible to create a Windows application to capture all event details (control type,event type,window etc) triggered from different types of applications (winform, wpf, silverlight, etc)
I tried the "record" tool in "white framework".
http://white.codeplex.com/wikipage?title=Recorder&referringTitle=Home
But this tool is not detecting every events in my application.Iam looking for developing similar kind of application.
If it is possible please give some guidance.I need this for automating the testing of some applications. Thanks.
It depends on the application you want to automate. If it's Win32, WinForms or WPF you might look at Windows UI Automation.
Also it depends on what kind of events your are talking about. Which event is missing from the White recording tool?
Update: The best Tool to see/discover the kind of UI Automation events you can record from a third party application is Inspect.exe (formerly called UISpy.exe).
In there you can record actions/events and browse through the element tree with all available properties. My experience is: if you can't see it there, you can't automate it with UI Automation.
What are the steps for in planing and developing a Windows Phone 7 application?
First design interface and write code
Expression blend and then VS 2010
First design layout in Photoshop then expression blend and then VS 2010
Write code first in VS 2010 (to achieve main goal) then design interface
What is the correct method?
I typically use a tool like Balsamiq to mock up my UI design
Once I am happy with the UI design, I design and code the entities to support my app
Once the entities are designed, I create ViewModel objects (I use MVVM).
With the ViewModel done, I create the UI for WP7.
Iterate through 1 to 4.
Once I am happy, I then use Blend to prettify the UI (add animations, states, etc).
I need to create a designer for Silverlight in WPF and I’m thinking of a few options
Use a WebBrowser control,
display the content there and
communicate Silverlight using the
JavaScript Bridge. Not sure if this
will be enough for the scenarios I
need to support (see below). This is what KaXaml is doing. SilverlightSpy uses a a more sophisticated WebBrowser control, but I'm not sure how they communicate with Silverlight.
Communicate using Sockets
between the Host and Silverlight.
Host the Silverlight runtime (not in
a browser), but directly using
AgCore.dll. Similar to what sllauncher does for OOB. I imagine
this is what Blend/VS are doing.
Do whatever Blend or VS are doing
which.
I obviously don’t want to go as far as VS and Blend, but I need to support drag and drop of some controls as well as grouping, changing the layout, moving controls in the design surface and obviously updating the Xaml as a result of this actions.
Any ideas, recommendations or pointers on the best way to create a Silverlight Designer in WPF?
SharpDevelop 4 has a WPF based editor for WPF and Silverlight -> http://www.icsharpcode.net/opensource/sd/
I have been asked to build an application where I can drag and drop few WebControls onto the WebPage designer surface.
So far I have read some articles on .NET Framework Design-Time architecture, like, MSDN Article: Hosting WinForms Designers, Developer Function Article etc.
But I can't a find a way to host WebForms designer. The only open source implementation that I could find was Mono Develop ASP.NET Visual Designer.
But in mono they have used GTK# & Gecko etc to host the designer. I can't find a way to do the same using WinForms.
Please suggest me what should I do. Give me some pointers. Should I go ahead and implement it using GTK# and Gecko?
PS: My requirement is not very huge. I need just a way to drag and drop simple web controls and save the page.
Creating a designer host and hosting the controls is easy. The hard part is the HTML design surface, to let you actually see the controls, select, drag-n-drop, resize, etc. There is nothing built into the .NET/ASP.NET framework to do this for you.
I built AspNetEdit - and pretty much abandoned it because it was too difficult to build a reliable HTML design surface designer with Mozilla/Gecko.