playback speed
how can I slow down the speed of my test's playback using Visual studio 2012? I am currently testing a wpf application and it has a few pages that data is inserted into a table. The test playback...
View ArticleClosing a Page so the Parent Window displays the Default content
I have a Window, which default content is a menu system. when i press a button this code is triggered: Private Sub search_Click() Dim searchpage As New Search Me.Content = searchpage End Subthis makes...
View ArticleXAML MultiDataTriggers for 'IsFocused' AND 'IsMouseOver' for a ControlTemplate
Hello, and many thanks, to whomever can help me.I've created a Style called 'SimpleButton' as a ControlTemplate override for buttons. I am setting the border thickness to 5pix, and setting the...
View ArticleDatabase retrieval: Weird situation, with no data... why?
this is ok, see the image below at this link:http://imagedrop.co/img-52c4d454f3427The Testtime of 19112 is being retrieved properly.But when I change to another SystemType = 0013-047, the Testtime is...
View ArticleLocalization in WPF
Hi there:I'm studying wpf and localization, the book tells me to place <UICulture>en-US</UICulture> in the <PropertyGroup> element in th myProject.csproj file.After I did that, I just...
View ArticlePresentationFontCache hogging CPU
Hi,I am developing an XAML and C# VS.Net 2008 windows application. Startup time is fine but my system slows down from the first time the application is run. Looking at Task Manager/procexp I noticed...
View ArticleDispatcher Priority
Hi, in .NET 4.0 WPF app, I have to force refresh a label status in between database queries.(update label, run a sql query, update lable, run a sql query, ...)private delegate void MyDelegate();...
View ArticleAny way to 'Group' Trigger.Setters in XAML as a resource for referencing?
I recently cried when I found that MultiTrigger.Conditions utilize AND logic always, and not OR logic. So, therefore if I want to fire off a group of setters on condition A OR condition B, and stay...
View ArticleIs it possible to add a custom event handler in code-behind? Or is it limited...
I tried adding a custom event handler to a collection of textboxes on my WPF app as follows (similar to how I did in winform) -- but error'd out. So I added this custom event handler in the xaml, and...
View ArticleHow to reduce the datagrid cell weight in wpf
Hi, I want to reduce the Datagrid Cell weight , i dont know how to do it please help me.....XXAML Code.......<DataGrid x:Name="gvaccounts" Grid.Column="0" Grid.Row="1" x:Uid="MyDataGrid"...
View ArticleXAML Error
Hey,I have a button style in XAML that is working fine for me, but when testing the application on another computer it gives me the following...
View ArticleWPF Prism App with Live Data Updates...
Hi Folks,I have a wpf application with a db which gets live data every 5 seconds, and i need to update the UI with thse updated data immediately. What is the recommended approach for this to be...
View ArticleWPF;Load images from each folders inside a directory
Hi Guys, In the parent directory `@"C:\DNP\HHFP\Borders\4x6"` may contains many folders & each folder has 2 .png files.How can i get into each folder and get the .png files along with the name of...
View ArticleDrag and drop from list view to text box
I have list view with 4 instances there type string and I want to drag the data from the list view to the text box (and update the list view ),how can I do that?this is the code for the main...
View ArticleWPF DatePicker Month Name Issue
I am having issue with DatePicker in WPF. When clicked it is showing month name cut in the height.WPF DatePicker MonthName Issue
View ArticleMy WPF Paging Custom Control Not Working
I have created one custom control for paging data grid in WPF but it is not working. Please help me. I am using my custom control as follows:<Window x:Class="Frames.Masters.AreaWindow"...
View ArticleWPF Page vs Window & navigation to new window
I am finally working my way into WPF using VS2013. As an old-school WinForm developer with some xaml for windows phone 7 experience, I'm having a hard time getting my head around the concept of...
View ArticleHow to name ListBox Items in xaml
I have a ListBox as defined below. How can I provide a name for each item in the ListBox via the xaml code?<ListBox Grid.Row="0" Grid.Column="0" Margin="17,8,15,26" Name="listBox1" Height="Auto"...
View ArticleProblem with Walkthrough: Binding WPF Controls to a WCF Data Service
Hi, I am having problems with the msdn walkthrough Binding WPF Controls to a WCF Data Service,I have followed all of the steps and then about a third of the way down when it asks me to create a Service...
View ArticleDo I need to learn C++ for WPF?
Hi,I have been coding with WPF since it was release. I used to work with C++ and DirectX but very long time ago(Many years ago)Is there any feature that could not accomplish with C# WPF?I used the...
View Article