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

usercontrol vs window?

I know roughly difference between an usercontrol and a window on wpf. It is suggested that use Usercontrol if you need to reuse it. It makes sense but here is what I am doing and where i am confused.I...

View Article


Windows store entry stretches 150x150 icon to wide format... any ideas?

Hello.I've created an application, and despite adding every possible image in the manifest (yes, including the square 100% tile icon and the wide 100% tile icon) , in the store, my app's icon is the...

View Article


XAML to C# converter?

I've noticed mostly all XAML code snippets have a C# equivalent... after all, Microsoft posts many of their XAML examples in C#, VB, etc.  Are there any tools out there that will convert XAML code to...

View Article

IOException

When I tried to transform byte[] into BitmapImage, at the step bitmap.EndInit() it threw the IOException: unable to read from the source.Following is the code:BitmapImage bitmap = new BitmapImage();...

View Article

WPF: how to make the column of ListView show mix string (combine normal text...

Our WPF application use ListView. One of request is "Result" column of ListView needs to show mix string.for example, "E. coli O157" needs to display as ℰ. 𝒸ℴℓ𝒾 0157"Clostridium difficille" needs to...

View Article


wpf infinite scrolling jumps when scrolling using the scroll viewer thumb

In context of the code example below i have the following problem. Once run, as user scrolls down, it add more rows hence provides infinite scrolling like in msn image search etc... the problem is the...

View Article

Image may be NSFW.
Clik here to view.

2 data grid combined as 1 and how to set the data grid editable when another...

I have create 2 data grid and locate both of it side by side. The data grid allows user to edit and when the value range "0 > input" or "100 < input", error icon will be displayed. However, when...

View Article

how to load DataGridComboBoxColumn with MVVM

I implemented a datagrid using mvvm and here is how my viewmodel and view looks like as below. my problem is that when i load the products, they will be loaded fast but since each product has a...

View Article


Reorder Items Within Wrap Panel (Or Other Control) Using Drag and Drop

Hello. I am trying to create an app where I can load a group of images into some sort of control and then drag and drop the images to reorder them. I plan on capturing the index of the images and then...

View Article


Selecting a file using double click in FileOpenDialog

Hi,I have observed a weird behavior of double click on FileOpenDialog is actually handing over the 2nd click to the control that is behind the dialog. I have checked the forums and it is said that we...

View Article

How to make a serial key specific to the destination pc?

Is there a way to make users to enter a serial  key that can only be used on the destination pc. Any other pc would require a different serial key. By using installshield limited edition.

View Article

Issue with auto closing fad-able message box

Hi,I have a Notify Message Box which will notify and fade in 2 seconds.This is called when the tree node selection changes.But after calling this message box with this.Close() in animationcompleted()...

View Article

Image may be NSFW.
Clik here to view.

WPF Charting for Polar Chart

Good Afternoon Everyone....I am new to WPF application. Based on radious only I want to draw polar chart and plot x,y value in that polar chart which are coming from text box. Actually I want  to draw...

View Article


Show only chosen columns from collection in DataGrid

Hi,I would like to bind DataGrid to my ObservableCollection and show only 3 columns there.I'm using MVVM pattern here. I have a method to load collection: Public Async Function FillProductivityEE() As...

View Article

Importing CSV file and mapping the columns before import is executed

some big applications have this as part of the importing process. And now our client wants something similar.Is this possible to have a page setup within our WPF application that has a list of the...

View Article


Image may be NSFW.
Clik here to view.

How to handle apphangb1 error code using try catch

Hi Team,I got this message on startup of my windows application, please guide how to handle this error message in try catch or how can i customize this error message.Please help.Thanks,Pritesh

View Article

How to change the connectionString in the app.config file after installation...

At the moment, the databases files are stored in the project as a content file which i located in the z drive. Which are referenced in the app.config in the connectionstring section. Obviously after...

View Article


Change Label content via DoubleAnimationUsingKeyFrames in wpf

hello guysI'm trying to use the following code to change label text using animation:DoubleAnimationUsingKeyFrames Animation = new DoubleAnimationUsingKeyFrames(); SplineDoubleKeyFrame Spline = new...

View Article

Keyboard shortcuts screen manager

Hello, guys. How are you? I have a really tough problem here. I'm trying to build a screen where I will list all my possible keyboard shortcuts commands. At the moment I have a code in xaml like...

View Article

Report Viewer at Visual Studio 2013 not appear

I installed the 2012 Report Viewer Runtime, but when open the project I can't find at "add > new item" the Report Viewer, I tried update my VS and instal all prerequisite of the Runtime, but not...

View Article
Browsing all 18858 articles
Browse latest View live


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