Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Browsing all 18858 articles
Browse latest View live

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 Article


How 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 Article


registering 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 Article

Set 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 Article

KeyBinding 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 Article


Problem 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 Article

HttpClient 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 Article

How 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 Article


Host 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 Article


WPF 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 Article

Calling 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 Article

Generate 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 Article

How 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 Article


Image may be NSFW.
Clik here to view.

listview selecter bar

I have a question.Whenyou click onan emptyspace I want tohidethe sky blue selector bar.please answer.

View Article

MS-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 Article


How 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 Article

Search 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 Article


Can 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 Article

Application 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 Article

Different 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
Browsing all 18858 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>