Binding Tags visible
I have an issue when my machine runs a bit slow and prior to a record being displayed it shows the actual binding tags, is there a way of preventing this or does it only happen while running the...
View ArticleHow to handle SelectionMode = Multiple in Listview
Good Morning,I would like to ask, how can I handle multiple selection of listviewitems using ListView in WPF with MVVM pattern. The scenario:Listview with multiple items, SelectionMode set to Multiple,...
View Articleregistering an ObservableCollection as a readonly dependency property
Hi group,let's say I've the followed scenario: a simple UserControl internally uses an ObservableCollection<string> object and it should expose it as a readonly dependency property. I'd then like...
View ArticleSet DataGridHeaderStyle in code behind
Hello,I've set the DataGridHeaderStyle in the XAML-Code:<DataGrid Name="dtgrd_contacts" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0,73,0,27" CanUserAddRows="False"...
View ArticleKeyBinding in HierarchicalDataTemplate of TreeView
I have a TreeView. I would like to enable EditLeafCommand by clicking F2.Model:public class Leaf { public string LeafName { get; set; } public bool HasChildren { get; set; } }ViewModel of...
View ArticleProblem with two-way binding TreeViewItem to XmlDataProvider
I have beat my brains over this for a week. I've searched here and every other place for the answer. I'm stumped. My program is basically a special purpose XML editor. I want to present the XML file in...
View ArticleHttpClient and Image Control Source
Hi,I am developing a WPF application which consumes REST API using HttpClient. I want to list all the users and their images in listbox.there are separate API for getting profile image (GET method)...
View ArticleHow to use various connection strings in WPF and DataSet in Debug and Release...
I have a lot of CRUD applications written using WPF and DataSet My connection strings are:<?xml version="1.0" encoding="utf-8"...
View ArticleHost a win32 application inside WPF window
I have a video application source as Win32 application. I want to enhance the UI using WPF. I need only the video frame from the application.. I followed...
View ArticleWPF User Control Problem
I have created a WPF C# program with two xaml files. MainWindow and EditorToolBar. EditorToolBar is a user control. I declared the namespace in the parent window...
View ArticleCalling other forms from the ViewModel
I have a splash screen that runs, calls a login screen if needed, and then starts the main window. I'm new wpf and mvvm and i'm trying to learn the right way the first time. This is what I've come up...
View ArticleGenerate CSV file and populate it with data of each item in my ListView
I have problems in my code when i want to populate my CSV with Date,Num, Piece,RefPiece,Montant,Libelle of each item in my listview. now my code generate csv file with all items'data and not each...
View ArticleHow to make Steam's overlay work with WPF ?
Hello, I have developed a game using C#+WPF and the game is currently on Steam (private branch until release). However Steam's overlay isn't working with WPF. Sometimes it tries to appear in the...
View Articlelistview selecter bar
I have a question.Whenyou click onan emptyspace I want tohidethe sky blue selector bar.please answer.
View ArticleMS-Access to WPF migrating: reports and continues forms
Hello everybody!Trying to migrate from MS-Access to WPF: Need more control on UI and better user experience. I found a lot of information on MSDN website, but still can’t find answer how to implement...
View ArticleHow to add cookie in Web browser control
Hello all,I am new to WPF development. In my application I have a requirement to pass the cookie in the web browser control so that it will avoid the authentication to open the specific page and how...
View ArticleSearch by DatePicker.value to display item from database in my listview
I would like to match datepicker value to match the date field in my database which is (cbModification) to display items by the date choosed. my problem is that my listview didn't display any item....
View ArticleCan anyone say what is the meaning of "semantic level" in the first line of...
https://msdn.microsoft.com/en-us/library/ms752308(v=vs.100).aspx am implementing cut, copy paste functionality in my WPF application, came across that link when exploring about commands. Was thinking...
View ArticleApplication crashing for Chinese language
We have .Net(WPF) 4.5 application working perfect on Windows 7.When we moved the same application on Windows 10 it started crashing under a particular scenario.When we enter Chinese character it start...
View ArticleDifferent icons in TreeView
My tree shows only one icon for all nodes:<TreeView Name="TreeView" Grid.Column="0"><TreeView.Resources><Style TargetType="{x:Type TreeViewItem}"><Setter...
View Article