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

Read xml File with counter

I have a question, but I posted it on the wrong forum. This is the...

View Article


PRISM with multiple Shell

Hi,I am using PRISM 5.0 with Unity.Currently I had one Shell with different region layout and user controls. These user controls are loaded in region.Now I want to create another Shell with completely...

View Article


Image may be NSFW.
Clik here to view.

How to create a custom listview with a specific listview item style?

Hi everybody, I am trying to implement a custom image gallery. It has a very distinct design though, It supports drag and drop reordering. Each item has a button on the left and a thumbnail. The drag...

View Article

XBAP HostScript new Window

I'm running into an unusual one that I can't explain and hoping someone can enlighten me.  I've got an XBAP app that interacts with the default.aspx (ASP.NET) page through the...

View Article

How To Add Buttons To Specific Cells Of Grid In WPF

I want to add buttons to specific cells in a  grid with 7 rows and 7 columns.I tried to do it like in C# but it's not working out.I did:for(i=0;i<=7;i++)   for(j=0;j<=7;j++){Button b=new...

View Article


Using LocalDB as file-based data persistence in Windows Application

Hello,We have a large Windows application (MFC C++) that has traditionally been file-based (using a non-Microsoft file-based database technology). We are migrating it to be a multi-user enterprise...

View Article

Image may be NSFW.
Clik here to view.

How to notify TreeView about the changes in PropertyGrid

I would like to implement this solution. When I select an item in the TreeView it is available for editing in the PropertyGrid. When I make changes using the PropertyGrid these changes will...

View Article

Shortcut only in some cases

hi! I have 2 buttons (btnDelete and btnClear), which are activated when an item of a listview is selected. Each button has a quick access.<Window.InputBindings><KeyBinding Command="{Binding...

View Article


print Dotmatrix printer in C#.NET in VS

i want to print in dot matrix printer the bill i created in c# .NET...Whats the code

View Article


how to work a integrated camera on my computer in wpf(c#)?

Hi all,I have need to open/access integrated camera on my computer through pragmatically using  .Net classes. and give raw data to manipulation it.Same work done in windows phone by usingPhotoCamera...

View Article

Get stuck to Drag&Drop in this case

Hello,i am developing a Form where the user need to drag and drop between Grid,StackPanel etc. some data you can see the code below :<Grid...

View Article

How to extract data from .xltm file in a (dataset, datatable or a list) using...

Hi all,As we can get data from .xls, .xlsx file in a dataset. Now i want to read all the entire data from .xltm file.I also want to get all sheets name from .xltm file. I am using .Net framework 4.5,...

View Article

How to Format DataTable Column after load Datatable without extra loop ??

How to Format Column after load Datatable without extra loop ??I dont want to do extra logic which can cause performance thing.I have datatable which get fill from Dataset after database query, now i...

View Article


VS C#.net Windows Application Project Cant connect Database on another System.

I Developed a Library Management System On VS in C#.NET as Windows Application.its Three tire Architecture...the BackEnd is MS SQL Server 2008 R2...When I give the following as Connection String,db is...

View Article

Image may be NSFW.
Clik here to view.

[wpf]how to get merged column headers in datagrid?

like this , top header includes some headers ?how can we get that?

View Article


I don't hope group also sort by clicking head in datagrid

Hi all,I create a datagrid, binding with ViewModel. Then set the SortMemberPath to the property in ViewModel. At this time, everything is ok.Then I add group for the rows. The question is that the...

View Article

Removing TabControl's Selected TabItem's bottom border

Hi, Please let me know how can i remove the selected tab item's bottom border of my tab control.I tried with the below code but it did not work.<Trigger Property="IsSelected" Value="true">...

View Article


WPF Button Images (Left/Middle/Right) ... How?

in WPF, I am trying to create variable width buttons with left, middle and right images.Example: http://i.imgur.com/3qtSHBW.jpgThe left/right image width will be fixed, but the middle section will fill...

View Article

Problem Hosting an ActiveX which starts VB6 Forms in WPF

We need to “host” an older application written in VB6 into a WPF Shell. We need to make sure that this app is part of the new WPF shell.The older app consists of:1)ActiveX component that shows a grid...

View Article

" Exception has been thrown by the target of an invocation "

hello everybody i have problem with new entity version 6.1.2 when i use it and run my program after running visual program show me " Exception has been thrown by the target of an invocation " could you...

View Article
Browsing all 18858 articles
Browse latest View live


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