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

How to open xaml page in stackpanel

Hi all,I want to open a new xaml page in a stackpanel. For this I have used hyperlinks "NavigateUri" property. In NavigateUri property I have specified the xaml page to open in a stackpanel. But I am...

View Article


Reportviewer use in Visual Studio 2013 Web project

Good, let me know how I can make use of the reportviewer Visual Studio 2013 with database in sql server, a web project that I have done. Thanks a lot

View Article


Trouble serializing a FontFamily

Hello all, I'm having trouble serializing a FontFamily property. I have a class that contains several properties, one of which was a FontFamily. I was attempting to serialize the object to a file using...

View Article

Combo Box - Assigning SelectedValue Results in Null.

I'm having an issue assigning the selected value of a combobox in code (C#).  When I inspect the itemsource of the combobox before it has been assigned ( ddlUsersCWW03.SelectedValue = cu;) it is null...

View Article

Image may be NSFW.
Clik here to view.

How to Bind a Combo Box so that it retrieves and display content...

I am developing a desktop application in Wpf using MVVM and Entity Frameworks. I have the following tables:1. Party (PartyId, Name)2. Case (CaseId, CaseNo)3. Petitioner (CaseId, PartyId) ................

View Article


GPU pixel shaders not appreciably faster than CPU?

Hello,I have about 10 PS 3.0 pixel shaders, which I apply to Grids using Effects surrounding a XAML/WPF Image. If the image is small, say 4000x3000 pixels, performance in applying these pixel shaders...

View Article

How to get screenshot for all hidden list items of a list in WPF

I have an issue in WPF Application, I want to get a scrrenshot for a list view.The list contain more than 100 items, some of items are hidded by scrolling down. Only get the items which are not hidden...

View Article

How to use double click trigger in ListBoxItem template?

Hi all,I want to double click listBoxItem in listbox, and set this item as editable status. It says make textbox as visible, please see the below code. When press Enter key or lost focus, then make...

View Article


Execute and CanExecute with Delegate

Hi, I'm trying to create a reactive UI and i have to use Execute and CanExecute to enable/disable buttons.In my app i have 3 button, validate, refuse and delete.My problem appear when i use the button...

View Article


How do you do something before a control loses focus?

Hello,I have a combobox, named 'mStyles' that shows a list of styles and another combobox, named 'mColors' that shows a list of colors the selected style from 'mStyles' has. 'mColors' is enabled if...

View Article

Open html file in Web Browser like IE,Firefox & Chrome

Hi all,I have a requirement where I have to open an html file in web browser. I searched for this in the internet and found that I can use "WebBrowser" control when I used this control, then the html...

View Article

How to create image gallery using WPF vb.net ?

I want to create image gallery using wpf in vb.net. There should be next previous buttons to move next and previous images. Give me solution.

View Article

bind combobox to entity framework model mvvm

Hi,I'm trying to populate combobox on MainWindow with data from entity framework, but what I get is an empty list.I used ADO.net Entity Data Model and it has create TTModel.edms with TTModel.Context.tt...

View Article


How would I go about adding multiple rectangles using the same lines of code?

How would I go about adding multiple rectangles using the same lines of code? I would prefer to just run through a set of code every time I need a polygon. If I just have to create multiple polygon...

View Article

IP Address

Hello,Could we change our IP Address using a c# applications?

View Article


StackOverflow Exception

Hi, i have a problem and i do not know the reason,Excuse me if my english is  bad, its not my native language.I have a larg project, that use mvvm, di ,etc, but  i reduce it to the next code (on a...

View Article

WPF app in Program File(x86) can't create new xml/xaml files successfully

Hi,In my WPF application (say MyApp), I have an option where I need to create/modify XML and XAML files. The app is installed in Program Files(x86)\MyAppFolder and location of these xaml/xml files is...

View Article


Image may be NSFW.
Clik here to view.

XAML designer NullReferenceException: Object reference not set to an instance...

The design has stop loading and I can't find the reason why. The following are the errors<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...

View Article

Image may be NSFW.
Clik here to view.

different Themes with Ribbon

How do I make different themes;<r:RibbonWindow x:Class="Company.RouteVisualization.MainWindowView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...

View Article

Saving Pinned images on background WPF application

Hi.I am trying to find out how I can pin images on a background image and then save them to a file format which I can restore again. The user should be able to move pinned images around. It means that...

View Article
Browsing all 18858 articles
Browse latest View live