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

How to hide items of a comboBox according to a value of a property without...

I am use this example to simply my case.I have two comboBox, one is for persons and other for orders. Order has a IDPerson property, so I can know who person is the owner of the order. The comboBox has...

View Article


How to convert xps documents to other formats, for example bmp ?

Hi, I have one question to ask.How to convert xps documents to other formats, for example bmp format?Thanks!

View Article


bindingsource ui and entity framework 6

Hello. I started to study the WPF, 1) in the data part, I saw several examples and use objects to store other data to list observablelist to enumerable etc .... It 'a difference by architectural...

View Article

Exception from HRESULT: 0xC1311010

I am having a TextBox with spell checker enabled and custom dictionary added. When i give relative path for the custom dictionary, the "Exception from HRESULT: 0xC1311010" is throwing in designer. If i...

View Article

Notifications to WPF app using PHP

I am developing an WPF app (Exe for Windows 7 and above) and whenever any event occurs on CMS I need to notify WPF app through notifications. All examples I found are using WCF services but beckend for...

View Article


In a comboBox with a compositeCollection, if I select first element the...

I am trying to use  a CompositeCollection to add a empty item in the comboBox. I am trying this code.<ComboBox x:Name="cmbOrders" HorizontalAlignment="Left" Margin="5,16,0,0" VerticalAlignment="Top"...

View Article

Page can have only Window or Frame as parent

Helloi displayed without problem a page in a frame (WPF Application). Now on this page, I put a Docking Manager Control (Avalon Dock). I have to dynamically add pages to Docking manager  as Tab. so I...

View Article

displaying data from the database in wpf project using wcf services?

can anybody guide me how to display data from mysql database using the wcf service in wpf project using c#?i have gone through many example on the internet but not a single one was able to display data?

View Article


System.IO.Path.GetFullPath() returns different values on compile time and on...

System.IO.Path.GetFullPath() returns different values on compile time and on design time. I have checked this using Log file. The values look different.Aaru

View Article


How to convert byte array image type in sql server to its respective document?

Hi,I'm able to upload documents in my WPF C# application in the form of byte array image type in sql server. I've to show these documents in a listbox and allow the user to be able to download the...

View Article

How to know Touch was hold or in moving position in WPF

Hello,How to know Touch was hold or in moving position on the PreviewTouchUp Event or in another way. If possible please guide me how to fix this problem.Thanks in advance.

View Article

How to cancel editing in DataGridTemplateColumn when Validation detects an error

Hello,I have a DataGridTextColumn with a Validation attached to the property binding.  Even when the validation fails, the user can cancel editing by pressing the Escape key.I have a...

View Article

List view TabNavigation Problem

I have ListView like as:<ListView Grid.Row="1" Grid.ColumnSpan="2" ItemsSource="{Binding DailyVCRGenModel.HistoryListCollection,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Margin="0,0,0,0"...

View Article


WPF MVVM swapping an image in the view from the viewmodel

I have an application with a simple form.  I need to be able to swap an image in the view based ion a method I have in the viewmodel. 

View Article

How to refresh user control on the button click in WPF

I am showing user control on the popup. Like as:xmlns:TimelogCustomControl="clr-namespace:TechTouch.CustomControl"And showing in the grid control like as:<Grid Grid.Row="1" VerticalAlignment="Top"...

View Article


Any free PDF Viewer for WPF?

Any free PDF Viewer for WPF?Designer

View Article

WPF XAML Exception - "Add value to collection of type...

My project is in WPF using MVVM. I am using Interaction,Triggers -> i:EventTrigger to notify about any validation errors in control. This application works all the time and already in production....

View Article


Finding the Grid row index of a button in that row from the button click event.

I have a grid in a WPF app. The grid can have rows added and deleted dynamically when the user presses one button to add a row and another button to delete a row.   The buttons are in the rows...

View Article

TextBox Lost focus while user type

Hello FriendsI am working on one type of calculator project. In that I am using Mahapps Metro control. Its working fine but some time when user type on textbox or select on combobox  project lost...

View Article

[WPF] How to create Binding in resources?

Goal: To create Binding in resources and use it in view model.Problem: It gives lots of exceptions.XAML:<Window.Resources><Binding x:Key="binding" ElementName=rectangle...

View Article
Browsing all 18858 articles
Browse latest View live


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