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

Sound in C# wpf

I want to make some app where I will be able to record some sounds and alayze it. For example if user is screaming the window background is red or sth like that. Where should I begin? Is there any easy...

View Article


WPF C# with Npgsql DataGrid Columns with ComboBoxes with names instead of...

It all seemed so incredibly simple in WinForms, but now moving on to WPF I have come to realize that even creating a simple DataGrid with that is populated from DataTables that have many-to-many...

View Article


How to Make a Resource for PasswordBox

Dear All,How i can make a resource for a PasswordBox. I want to make its corner Round and one Click its Border Should be Red. Kindyl Help me in creating it.ThanksJazaib Hussain

View Article

(Solved) DataBound TabItem not updating (in Code-Behind, Cross-Thread)

Hi there,I got the situation that I'm binding my TabControl to an ObservableCollection in the Code-Behind file. This OC contains instances of a class with different properties. These properties are...

View Article

SERVICE in UserControl

I add a Service host on IIS in my WPFUserControl.When i drag the WPFUserControl in MyWPFApplication, VStudio write this error:"Could not find default endpoint element that references contract...

View Article


How to set Controls on TabItem to default values on Clicking on another...

On windows load ,I am Binding data to datagrids in tabItem1 and tabItem2. the datagridheader has checkbox and row also have checkbox ,the functionality of checking and unchecking working fine.Now after...

View Article

masktextbox in vb.wpf and dataview

Dear Experts, I am working in wpf with vb.net and I have two query 1======================== I have a global dataset, in this dataset having more then 10 tables, one table one dataview is working fine...

View Article

Handling ScrollViewer within TabItem with a nested Grid

Hi,I'm trying to do something quite simple. We need to display data in a Grid inside a TabItem...  We want to display the various input controls in columns that will be resized when the window is...

View Article


WPF title bar controll get extended while maximize

I create a wpf window application i placed a control on the top left corner while maximizing my window that gets extended and goes back to normal in fraction of seconds like a white...

View Article


XAML designer hosed in VS2010 after running program in Debug mode; Remoting...

Fixed by closing VS and reopening it. Whew.

View Article

measureoveride problem

hello, i've tried to translate the C# carousel in c++/cx version, sinon i had bit of the code.I'm quite stuck by the fact that i miss one measureoverride code and so the correct display through...

View Article

how to binding to element inside user control

Is there a way to binding to a sub element inside usercontrol using xaml?I with to replicate this code using just xaml.this.controlDisplayView.displayView.displaywhere this is the window,...

View Article

.net WPF App has visually different style than WinFORMS on Windows 8

Hey Everyone, Developing a WPF application using VS2012, on Windows 8.  This is a standard desktop app.  I'm using WPF because it has the Ribbon as a standard control, where as WinForms does not....

View Article


SelectionChanged event does not work when listbox is bound to a...

I have a listbox that is filtered as a user types into a listbox. The selection changed event works when a user selects an item but does not work correctly when the filter is being engaged. If I have...

View Article

Data validation with EF

Hi,I'm looking for the best way to handle validation errors. I've seen many video's and read many documents but i still have doubts. I,m using WPF. EF, MVVM, .net 4.5.My questions are:Should i set  the...

View Article


Multibinding ConvertBack doesn't pass the correct value?

There is a very strange problem which is confusing me a lot.Just like the code below,I had created a [Button] and multibound its [Canvas.LeftProperty] to [Entity.X] and [Entity.Z].The [Entity] class...

View Article

Month view, week view and working week view in outlook calendar in wpf

Hello everybody!i was posted http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/7d927ca0-a110-4ede-bb2c-fa0070625722/ here how to make Outlook calendar sheet view , and tried...

View Article


Getting unexpected behavior when examining the IsChecked property of a Checkbox

We have 6 checkboxes on a user control. We want to be able to determine, whetjher or not each of the 6 boxes are checked. We tried doing this in this event in the code behind:private const short Black...

View Article

WPF will not run on 32 bit pc

I am developing a WPF app on my Windows 7 64 bit pc. It runs ok on my 64 bit pc, but when I try and run it on my XP Pro 32 bit laptop, an error even before main window is displayed. Now, I have checked...

View Article

DataGrid Bound to XML not Refreshing

I have a DataGrid bound to an XmlDataSource.  Here is my (partial) XML:<Settings xmlns=""><Profiles xmlns="" ActiveProfile="0"><Profile Id="0" Desc="- none -" Port="0" Baud="0"...

View Article
Browsing all 18858 articles
Browse latest View live


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