WPF performance issue.
Hi,Working on a 3D engine for my company where the UI is done in WPF I noticed performance loss in some specific condition. Using the profiler I saw that a method of the Windows Presentation Framework...
View ArticlePageFunction Using
Hello In order to implement the "Back and Forward" features in my WPF application, I have followed this article.http://paulstovell.com/blog/wpf-navigationbut I'm stuck on PageFunction using...
View ArticleUp and Down Key Functionality for the Custimzed DataGridTemplate Column in...
Hello Freinds, Handling Up and Down Arrow keys in customized DataGridTemplateColumn and Focus on particulat control index of previous Cell. Kindly suggestI have Customized column in a Grid, I mean i...
View ArticleHiding address bar in Internet Explorer
I am trying to open Internet explorer in my WPF application.I am referencing the Shdocvw.dll to open IE.But I am unable disable the address bar.And I can Hide the address bar.Main issue is whenever I...
View Article[WPF] MouseEnter event: How to get a sender?
Goal: To get Rectangle as sender.Problem: It gets Grid as sender.Question: How to get Rectangle as sender?Note: Applying MouseEnter individually to Rectangle works, but it is not what I need. I need to...
View ArticleC# WPF) How to prevent controls not to be blurred in ViewBox when stretched?
I'm developing a WPF desktop application. In MainWindow, there're 100 controls entirely wrapped in ViewBox.Usually, the Stretch setting of ViewBox is None and all the controls are seen clearly as...
View ArticleFolder Browser Dialog
I need provide the user with the ability to select a folder, is there an alternate way other than referencing the Windows Forms version?
View ArticlePerformance issue for VirtualizingStackPanel in .NET 4.6.1
After upgrading to .NET 4.6.1, a datagrid using VirtualizingStackPanel started experiencing performance issues.It seems the stack panel kept looping through all elements of the grid's data source in...
View ArticleAdd a button for each row in a listview
I have a listview populated with data from database and a iwould like to add a button in the last column for each row displayed in the listview here is my XAML : <ListView x:Name="listView"...
View ArticleCan I use open source WPF controls to develop my commercial Excel add-in...
We have developed an Excel add-in platform which uses below packages: - Main.Controls.Wpf.Notification.2.8.1.0 - GMap.NET.WindowsForms.1.7.1 - Extended.Wpf.Toolkit.2.5 - EPPlus.4.0.4We have downloaded...
View ArticleTextBox Lost focus while user type
Hello FriendsI am working on one type of calculator project. In that I am using Mahapps Metro control. Its working fine but some time when user type on textbox or select on combobox project lost...
View ArticleModify ResizeMode after Borderless Transparent Styleless window is Show()'n
I have a WPF window with these properties:WindowStyle="None"AllowsTransparency="True"ResizeMode = "NoResize"I want to be able to programmatically re-enable/disable the sizing grips which I could do...
View ArticleReset selection on grid of images
I have a datagrid that has one column which is an image. There can be many rows. When the image is clicked, a larger view of the that image displays. The user can then close that larger view and...
View ArticleHow to handle Executed event of CommandBinding using MVVM rules?
I have a DataGrid and I want to turn off SelectAll() method on DataGrid. To be precise this button: Here is Executed event which will be handled in code behind:<DataGridItemsSource="{Binding...
View ArticleTreeview with "unlimited" sub-nodes
Hi.the previous project i worked on and asked little about here went fine.Now they want to be able to put more or less "unlimited" sub-nodes in the treeview.The source data would come in this...
View ArticleRender an Office document in a WPF application
Dear all,What is the proper way to render and office document like word, excel into a wpf application and be able to consult those document in a friendly way using touch.Does the best way is to convert...
View ArticleTreeView bound to XmlDataProvider not updated when XmlNode modified
My application is basically a specialized XML editor. I display the XmlDocument in a TreeView declared as:<TreeView Name="asifTreeView" ItemTemplateSelector="{StaticResource...
View ArticleNVDA Screen reader is not reading out WPF button press
In winforms when you press a button NVDA reads the action as "pressed" where as in WPF NVDA just reads the button name and does not read the pressed action
View ArticleApply button click function on a a single row records of a listview
i have a listview with buttons on each row i want to open csv files of the the name of the row concerned, i match the the name of the fournisseur with the name of the csv file if it's a match the...
View ArticleDrawing on Canvas vs Drawing using OnRender
I need to draw shapes using WPF. I have figured out two ways of doing this. Method 1 protected override void OnRender(DrawingContext drawingContext) {...
View Article