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

How to Persist Checkbox State when leaving and returning to page?

Hello my friends:I have a page containing a checkbox, in XAML code the checkbox is set to:IsChecked="True"When I unchecked the checkbox, leave the page and return, the checkbox is checked again. I know...

View Article


How do i input a command into an already runnnig cmd like project?

Hi,I've searched this for ages but i can't fin a solution. I want to input a command to analready running batch file when i click a button,notstart the program with a command or paramaters. Any help...

View Article


Image may be NSFW.
Clik here to view.

A chance for YOU to play for the WPF team, in the TechNet Guru World Cup!

The World Cup is here again!Not balls... brains!And YOU have been selected to play on our team!Yes forum reader, step up and take a shot!Slam some techie tips in the back of our nets!No dribbling...

View Article

Key Down override

Is there a way in WPF to override keydown events on user controls, window etc.?  I have some code that has to execute on ever input text box etc on every form.  Is there a way to put that someone where...

View Article

WPF Datagrid unbound cells loose values after editing

Hi All,I have a WPF Datagrid in my XAML Markup which has several bound columns and one unbound column.<DataGrid Name="dtGrdReceivedItems" ItemsSource="{Binding Path= PurchaseReceiptDetail}"...

View Article


FocusManager.IsFocusScope="True" doesn't work

Hi I am pretty new to WPF. I have following XMAL. The button is supposed to be enabled when I select the text, but it remained disabled no matter what I did.<Window...

View Article

Hotfix 2362055 is not working

Hello,I have downloaded hotfix 2362055 from the following link:http://support.microsoft.com/kb/2362055/heand it doesn't solve the problem described there, the same symptom occurs.Actually, it seems...

View Article

Save CroppedBitmap to file?

  Dear PROs,Is it possible to save a CroppedBitmap object to a file?CroppedBitmap cb = new CroppedBitmap(        (BitmapSource)this.Resources["masterImage"],   new Int32Rect(30, 20, 105, 50));...

View Article


Datagrid not insert data with observable collection Local

im Using Mvvm Pattern With wpf and Ef Code First I have a WPF DataGrid bound to an observable collection in an MVVM application For Insert And Update Data To DataBase.and implemented...

View Article


Image may be NSFW.
Clik here to view.

.NET 4.5 RibbonControl: Empty bar on top of Ribbon when not using RibbonWindow?

Hi!my team and I are currently working on an application that is supposed to use a Ribbon as a menu. As we are trying to override the default style of the window we noticed that the Ribbon has some...

View Article

Very new to MVVM and WPF

I am VERY new to WPF and I am trying to do something I thought would be simple. I want to read an XML file and populate a ViewModel of observable collection and then bind to a datagrid. I can get this...

View Article

wpf app is taking high cpu but consistant memory

Hi,I have a WPF application.While the Application is active(means not minimized) then it is taking very high CPU(avg is more than 30) but memory(private bytes) is consistant.It is not increasing.It is...

View Article

WPF Button Click Sound Effect

 Hi,I want a sound effect in wpf telerik button click. I am using followinf code. But i did get it. Let me know solution for this.<Style TargetType="Button">            <Style.Triggers>...

View Article


ToolTip of DataGridCell occurs value disappearing

I have problem with ToolTip in my DataGridCell style. When I try to show content of cell in tooltip this content disappears. I must show this tooltip on each cell and I generate columns dinamically so...

View Article

Remove Default Control Style WPF

Hello :)I am doing some tests in WPF, my first steps!! I have some problems because I want to create a fully customized button. I am developing a program that needs to create buttons at running time,...

View Article


Update control from code behind

I have a control that I want to update, It updates from the GUI but from code behindt doesn't seem to work. I am using mahapps ProgressRing but for debug I am using a Checkbox bound to the variable.I...

View Article

Entity Framework vs Enterprise Library in WPF

I have a WPF desktop application. I am using MVVM architecture. I want to get more insight on  entity framework or enterprise library. Which would be the better option to use. I am familiar with entity...

View Article


I am trying to use a wcf service in my wpf application by adding service...

I am trying to use a wcf service   in my wpf application  by adding service reference  .I click on add service reference and provides the address .some files are automatically generated.like...

View Article

Custom WebBrowser Scrollbar

Hello I would like to customize my WebBrowser Scrollbar in WPF application .i've used this code, and it work well for all control in my WPF Application without WebBrowser.<!--...

View Article

Customize Window Title Bar

Hello; i would like to customize the title bar of my WPF application (VS2013). Objectives: Change background and border color of the title bar and always display the title to the left .(on Windows 8,...

View Article
Browsing all 18858 articles
Browse latest View live


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