I have created on "WorkflowDesigner"in C#/WPF code, I have populated with some activities which are not seen in GUI with out scrolling.
If there is any error in the data bounded it show display some error icon in top.
Now the validation error only happening while i am scrolling the items.
is there any way for force update validation for entire activities in workflow editor (including the hidden item due to scroll) . Any help would be appreciated..
We used to run away from visualization, We zoomed to fit to window and then reset to previous zoom level.
Related
As a learning project in C# .net I am re-creating a Gnome 3 plugin for seeing who of the streamers you follow on Twitch is live. I have the settings form done, I am now working on the interface that is viewed from a click on the taskbar.
This is a rough image of what I want the interface to look like. When two or more streamers are live the interface would add another block and resize the form vertically similar to the menu for selecting a Wifi network in Windows.
What would be the best way for me to complete this?
My current thought is to maybe create a custom control and just place those inside a FlowLayoutPanel with some kind of code to change the vertical size of the form to match the added entries. Maybe this can be done without a custom control and be done with code inside a FlowLayoutPanel? I'm not too sure.
Ideally I would also have a click event in the panel for each streamer so I could then open a browser to their channel. A slight highlight would also be a plus (maybe change the background colour based on mouse hover).
Thanks in advance for any suggestions!
I have this problem: In my app, I need to show custom user control, for each element of the list that is provided from database at runtime. Each user control, when created, contains around 30 User objects (buttons, grid, labels, combo boxes etc), so, when the list contains over 300 elements, the limit of allowed USER Objects is reached.
There are no memory leaks, Handles are fine, GDI Objects are also fine. All the controls are added to a TableLayout.
Has anyone had a similar problem, and how did you fix it?
Is there any other way except paging or drawing each control dynamically by controlling if it should be visible on screen, based on the scroll position of the table layout?
Thanks in advanced.
I just tested the ListView control in Windows 8.1 for my Windows Store application. I really like the Reordering and Dragging of Items in the ListView and it is obviously required to use inside the Flyout for my application.
Unfortunately i get some problem with the Dragging and ReOrdering of ListView items when i use inside the Flyout. Begin with, Dragging of Items are working fine as expected in the normal display. If i use inside of Flyout, Dragging adorner is not visible over the Flyout and instead it comes beneath the Flyout.
I have attached the screenshots in the normal and Flyout display.
Sample has been attached in the below SkyDrive link. It would be helpful to you guys to grasp more information about the problem.
https://skydrive.live.com/embed?cid=89346CF5C45CEB8C&resid=89346CF5C45CEB8C%212942&authkey=APwj9svhnGFMqwY
This is not going to be a satisfying answer. I have been struggling with the same issue for a while now. I decided to move the reordering to the top AppBar only to discover that the same issue shows up there too.
I found an existing question on msdn and added my own comment and according to a Microsoft employee this is not a bug but a feature:
http://social.msdn.microsoft.com/Forums/windowsapps/en-US/c1add91a-e887-4d08-a3f8-884ec22239f6/dragged-gridview-item-is-not-visible-when-it-is-dragged-over-appbar
As for a solution:
You can change your design and move the reordering out of the settings flyout into the main screen.
You make your own flyout / top application bar control.
I've created an application with Glade and GTK# in windows XP:
at startup window is not maximized
I click on "Search" and a listview is filled with data from a database:
image http://www.microline.eu/Capture-1.jpg
I click on maximize button the window freezes and does not respond
any suggestions?
Thanks
Added informations
On linux it works well
No code on maxime routine
My idea is that there is a bug in resizing procedure in GTK# for Windows
It's difficult to diagnose your problem without knowing what your code looks like - do you have any resize routines?
To solve your problem, I'd narrow down the potential culprits. Remove or hide one or more controls until you can find which control is responsible for the freeze on maximize.
Once you narrow down which control is causing the issue, determine whether it's the data in the control causing the issue. If it's the grid, see if the freeze still happens when there's no data in the grid.
If I change property Window position from Always center to None, then maximize works well.
I am doing a UI automation for a WPF application using the Microsoft UI Automation library and it works well.
However my app has four screens in a TabControl. Even when I click the tab item through code its child control tree isnt populated. The only control I can see is the "thumb" Control. Same happens when I see the control tree with UISpy.
However if the window is clicked then all the controls appear. As a Workaround I am simulating a mouseclick through code and it works. I wanted to know if there is some better way of doing it.
I ran into a problem similar to this. What was happening was some data was being retrieved on threads and the controls were not generated at the point automation peers were generated. I would suggest if you have access to the code base for the application you are attempting to automate looking into whether threading is being used. In my specific case it was because BeginInvokes were used to retrieve the data, I switched them to Invokes and it worked fine.
Also from what I could tell the reason the controls were being show on mouse over was because the tool tip generated a popup and caused the automation peers to be updated.
Why don't you click the control using mouse events if that is what works.
(Now, if you still are having that problem..)
How to simulate Mouse Click in C#?