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

Binding Byte[] column from datatable to DataGridTemplateColumn of datagrid in...

Hello,I have a created a WPF application in Microsoft visual c#2010 express edition.I have a DataGrid and a DataTable.I have defined columns for dataTable and one of the column is of type...

View Article


Image may be NSFW.
Clik here to view.

Question about [CallerMemberName] attribute for PropertyChangedEvenHandler

I have been working with a sample WPF MVVM project (VS2012) which introduces the [CallerMemberName] attribute.  This seems pretty cool because you don't have to include the property name when raising...

View Article


How to make Storyboard work multiple times?

In an attempt to maintain proper MVVM separation I found and modified a 'StoryboardManager' class that is supposed to attach a property to a Storyboard which can be scripted in the View's XAML and...

View Article

Vb.net Form1 will not load.

The form loaded the first time I did a  project in WPF. The second project I did the form would not load. I repaired VS 2013 and still would not load. The code is there but form window will not appear....

View Article

WPF firing MouseDown events from incorrect locations when using touchscreen...

So through 4.5.0 we just let .NET touch events trickle down to regular mouse events and everything is fine.  But, .NET 4.5.1 changed something and broke this for us. I have a datagrid, and there is no...

View Article


Image may be NSFW.
Clik here to view.

Where is the root size tag?

I run into a very stupid question. By the example on MSDN,In Design view, click the root size tag () at the lower-right ofMainWindow to set the root size to auto size. However I can't find it in Visual...

View Article

Application Preview in WPF

Hi there !I'm trying to find a way to visualize an application (of any kind) in a WPF application. Let me explain my situation : I'm developping an application in WPF for medical purpose. The doctor's...

View Article

Loading a local file in wpf browser control

I want to load a browser control with a local html file. The html file is located in a folder named Html in the application folder. Tried many ways to create Uri object but none of them suits the...

View Article


Reset Position after Panning

HI,1. How to get the original position after having certain panning to the canvas.?2. How to keep the limit or Bound to the mouse pointer for  MouseMove event in the panning...?Can anyone help me...

View Article


How to get column datatype from DataGridColumn?

Hello,   I need column datatype from DataGridColumn.Thanks.

View Article

Form behavior puzzle

I am getting an error message that I do not understand. My MainWindow contains code to open another window called ListMaintenance:Private Sub mnuListMaintenance_Click(sender As Object, e As...

View Article

Image may be NSFW.
Clik here to view.

wpf validation message disappears

i will be very happy if someone finds me a solution. i have a Windows presentation foundation user control inside a windows form. the user control has a tab control which has four tab items. in one...

View Article

Cursor shadow for custom cursors

I have edited the default Aero Arrow mouse cursor from Windows 7, added a little icon to it and saved it as new .cur file. The cursor editor is RealWorld Cursor Editor 2013.1 which seems to be good at...

View Article


xaml c# treeview reorder ItemsControl

I have this: <TreeView Name="treeView_m" > <ItemsControl ItemsSource="{Binding Interaction.DispositionCode.ListOfDispositionCodeValue}" Width="Auto" Height="Auto" MinHeight="30" Margin="2"...

View Article

WPF cross platform (both windows and mac envirniment)

Hi,We are planning to develop a desktop application which should support both in windows and MAC systems(Cross platform compatibility) . We would prefer WPF, if possible, as it will provide rich...

View Article


PrintVisual : custom FontFamilly doesn't work on some printers in a windows...

HiI'm writing a windows service that act as a print spooler. Documents are printed in STA threads. My document is built as a Canvas that I print using the PrintDialog.PrintVisual function. It works...

View Article

Master detail doesn't work.

I was following master detail tutorial here, there was no classes provided to completely finish it so i made up my own and now I can't get it to work, can someone look into where I went wrong?I used...

View Article


multiple list views

I'm trying to create a simple app where my start screen displays a longlistselector of various categories (say genres) and based on selected item the user is navigated to another page where again a...

View Article

PrintDialog : "The calling thread cannot access this object because a...

I'm trying to write a service that act as a print spooler : it waits for documents to print and print the on the right printer with the right settings (stored in a PrintTicket).Each time a bunch of...

View Article

How to generate variable gridviewcolumns based on size of list in code behind

I have a listview with a gridview and gridview columns in it. How would I modify the gridview columns so that I can genereate a variable number of column in code behind so that depending on a list...

View Article
Browsing all 18858 articles
Browse latest View live


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