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

How to wait for the WPF render thread to "catch up"?

In WPF, there is both your UI thread and the "hidden" render thread. As you make changes to your controls in the UI thread, those are not reflected immediately. The render thread has to render those...

View Article


When mouse is moved over WPF ComboBox drop list, it creates a temporary...

Background:My application contains multiple top level windows; each top level window is divided into multiple panes (say Pane_1, Pane_2, ...) which are UserControls (user defined type: MyControlPane)....

View Article


One way dependency property changed notification

I'm trying to make a user control with a dependency property. I need to execute certain logic when the dependency property is changed from outside the usercontrol, but that logic shouldn't execute...

View Article

Prism InteractionRequest PopupView

Hi All,We have a requirement to customize the content and buttons for a confirmation dialog.We're using Prism 5.0, and would like very much to go with the Interactivity facility provided as per the...

View Article

Wizard to transform C# Windows.Forms to WPF

Hello,is there a Wizard wich helps to transfrom an existing C# Windows.Form Project to a C# WPF Project.The idea is that I open a Project file in the wizard and then the wizard try to transform all...

View Article


Why does ListBox require a DataTemplate to display item names correctly?

I have a WPF ListBox bound to an ObservableCollection of IProducts. If I specifyDisplayMemberPath="{Binding Path=IProductName}"As part of the ListBox definition in XAML, I get a list of items that...

View Article

BeginInit / EndInit scenarios

Hi,I was just going through ISupportInitialize interface, and reading this https://msdn.microsoft.com/en-us/library/ms788731(v=vs.110).aspx . I saw all examples showing Image.Source scenarios like...

View Article

How to display Data in different color in ListView in wpf

Hi,I have one class as base class. Let say class name is Device, from two class are derived.Public class Device{public string name{ get; set;}}public class NormalDevice: Device{}public class...

View Article


Refer Parent User Contols Grid In Child User Control Button Command parameter

Hi All,I have DataGrid In My Parent User ControlAnd I have Button In My Child user Control where i have button on clicking save i need to Pass Complete DataGrid as Command parameter to my viewmodel for...

View Article


WPF treeview inside a popup

I have a requirement in WPF to show a Treeview inside a popup.  I am able to achieve that, but the problem is whenever I click on any treeviewitem inside the popup, the popup gets closed.  I have set...

View Article

Simple problem with WPF and MVVM

Hello all, I am developing an app in MVVM with WPF and C#. There are several classes containing data, this is the model portion of the code. The ViewModel portion of codes receives data through a...

View Article

EntityFramework 6.0.0.0 reads data, but it is not inserting

've created a Service-based Database folderName->Add New Item->Data->Service-based Database file into WPF application. Then I've used Database First approach and have created...

View Article

How to Keep Mouse related event in Command in wpf

Hi,I want to use Command in wpf where I can put all the stuff like this:MouseEnterMouseHoverMouseUpMouseDownWhen I'm taking the mouse inside the form, MouseEnter command will raise and same way for...

View Article


Image may be NSFW.
Clik here to view.

Bind command to other viewmodel?

Hi,i have a mainview+mainviewmodel (first image) and a flyoutvview+flyoutviewmodel (left side of second image)when i click on the settingsbutton in the mainview, it executes the showsettingscommand and...

View Article

dual navigation

Hi allHave been trying to create an app with multiple different windows containing frames each hosting a page, which is not the problem, the problem comes in when I use the navigation service, I can...

View Article


compare 2 databases of mdb tables(diffrent database same table)

הי,מה הטכנולוגיה הכי טובה להשוות טבלאות של MDBכאשר הבסיסי נתונים שונים אבל הטבלאות זהותאיך אפשר ליישם זאת ב MVVM?

View Article

WPF touch event can't response to the hand continue touched before...

Hi, all I want to detect a hand touch on the screen. For some reason, the touch event is happened before turn on the power of the laptop. That is like: My finger was already put on the touch screen and...

View Article


I want to take backup multiple database of the sql server database on schdule...

 I want to take backup multiple database of the SQL server database on schedule based in C# WPF.  A. Schedule may be     a.Daily basis     b.Weekly basis.     c.Hourly basis.     d.All of these.vkp

View Article

Help troubleshooting binding

I have two situations I believe are the same. One binds, the other doesn't. This is .net 4.6 with entity framework 6.This one works, it binds ID_GDB successfully.<ContentControl...

View Article

Image may be NSFW.
Clik here to view.

Checkbox column datagrid in wpf

i have datagrid downloaded data from xml filе how to programmatically handle the event ? checkbox if true then all lines equaled true checkbox as shown in Figure Projec twriting onvisual basic-code

View Article
Browsing all 18858 articles
Browse latest View live


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