Is there a noticable difference to use a ManagementEventWatcher or a...
Hey,is there a difference in respect of Systemresources and timeconsumption if i use a DispactherTimer instad of a ManagementEventWatcher to overlook is there a usb drive connected or disconnected. I...
View ArticleHow to binding kinect depth + color in viewprt3D, for rotating, zooming the...
please any body help me to rotate,zoom kinect depth+color view in viewport 3Dkirubha
View ArticleWPF window is showen in Alt+Tab list though WindowStyle="None" &...
HiI have a window in WPF (.net4.5).I don't want it to be shown in Taskbar & Alt+tab list.so i wrote the following:AllowsTransparency="True" WindowStyle="None" ResizeMode="NoResize" Topmost="True"...
View ArticleWPF Error - System.AccessViolationException After a few hours...
I have a WPF aplication with .net framework 4.0 in Windows 7. I compiled the app in release mode and put it on the test computer. after a few hours (or days... it depends, i don't know why) the...
View Articleexists speciall issues (or is this weird) about saving systemresources while...
Hey,i Encounter following weird behaviour. I have written following code:TabItem item = newTabItem();StackPanelsubpanel =newStackPanel();subpanel.Orientation = Orientation.Horizontal;StackPanelpanel...
View ArticleHow to clear the controls in a Usercontrol
Hi,I have an application where one thread is loading a page and invokes thread 2. thread 2 after completing its respective tasks it has to come and update the UI of the UserControl which Thread 1 is...
View ArticleDynamically resize a Stack panel with its contents.
Hi,I want to resize the contents in a stack panel, as and when the number of contents increase or decreases.For example in a stack panel, I have 2 labels and a textbox fitting in to this stack...
View ArticleOpen a already opened instance of WPF Application
Hi, Everybody.I developed a WPF Application with a menu called as "Minimize". Once I click Minimize , the entire applciation will be minimized to "System tray". When I double-click the system tray...
View ArticleDateTemplateSelector and WP8
Hello, I've installed the Prism package into my WP8 project with the hope of using the DataSelectorTemplate to select between templates. Several problems have arisen and I'm wondering if I have done...
View ArticleTouch Event responsiveness/performance/delay
When I manipulating a framework element with MouseEvents everything works fine andit responds instantly without any delay. But when I manipulate this element with my finger (TouchEvents) the...
View ArticleHow to implement multiple context menus similar to Office 2010
Office 2010 applications seem to display multiple context menus on mouse right-click in the editing areas where above the mouse click position there is a "context menu" showing font options and below...
View ArticleSwiping from the right and evading the charms bar
We have developed an application with the ability to swipe from each side of the screen for extra functionality.This works perfectly on legacy copies of Windows but when running in Windows 8 (8.1) the...
View ArticleCorrectly handling bubbling event of Button
Hi all,In my application, I have to handle MouseDown event in such a way that child element should be first given the chance to handle it and then the parent.I tested the code in test application by...
View ArticleWPF: Reapply DataTemplateSelector when a certain value changes
The original question was asked here: http://stackoverflow.com/questions/3543515/wpf-reapply-datatemplateselector-when-a-certain-value-changes. There hasn't been posted an answer to this.My situation...
View ArticleWPF Interaction between multiple instances
I am developing an WPF Application. I want to run multiple instances of the application. and if some event occurs in one instance this event must be catched in another instance of the application. I...
View ArticleWhat does [0] means in "{Binding [0].ErrorContent}"?
Hi there:I'm studying validation and I ran across this xaml code:<TextBox x:Name="AddressBox"><TextBox.Text><Binding ElementName="This" Path="IPAddress"...
View ArticleStandby app use 20% CPU on Pentium 4
We are testing our WPF application on a machine with CPU Pentium 4 3.2GHz. The main problem is that when the application is in standby doing absolutely nothing (no timers, no threads), the CPU usage of...
View Articleloop
How to set up a counter each time repeating the press of a button it by oneex:-Click 1 textbox = 1Click 2textbox =2
View ArticleHow to bounce an object within screen edge
Dear all,I have an object on screen, what ever it and would like to know the best approach to make it bounce on each edge screen when that object is through with touch or mouse.Of course the object...
View ArticleFirst GridViewColumnHeader Not Receiving Custom GridViewColumnHeaderStyle
I have been developing a Wpf project, that includes a DfcListView class (that inherits from a ListView class). In the file 'DfcListView.xaml', I have the following code to define...
View Article