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

Finding checkbox id in datagrid

hihow to find the checkbox id that is placed in datagridthanks

View Article


Trying to figure out why public virtual string this[string propertyName] is...

Hi all,I am trying to implement INotifyPropertyChanged, IDataErrorInfo in a class and having some minor issues.  I borrowed some code from the web and in the process of testing it (the authors source)...

View Article


Streaming Linq eventhandler

Hello,I want to use a realtime twitter stream into my WPF application, i've created an twitter class:public class twitter { ITwitterAuthorizer auth = doTwitterAuth(); public event EventHandler...

View Article

How to reference a control in a DataTemplate?

Hi all,Another (hopefully) easy question.  And yes, I have searched for the answer first.I have a dataTemplate:<DataTemplate x:Key="codeTypeTemplate"><StackPanel...

View Article

PrintDialog - assign default values

I have a label printer. Seiko SLP-440. When I ShowDialog the PrintDialog to print a visual the user has to click printing preferences, advanced, paper size to set the paper size. There are a lot of...

View Article


Image may be NSFW.
Clik here to view.

Create Data Binding dialog woe’s

Using VS 2012 for a couple of months now I notice that the Data Binding Wizard doesn’t work. I create a new WPF project and add a Text Block to the windows root Grid.<Window x:Class="MainWindow"...

View Article

Image may be NSFW.
Clik here to view.

Problem in getting items from checked rows in datagrid in WPF

Hi Everybody,                   I'm using datagrid which is bind from database like this. When user check some of the checkbox, and then click the button , i want to display the employee name from the...

View Article

Problem in report viewer Multiple Records in wpf

Hi,     I have one datagrid and button(name btnview),in datagird i have checkbox in all rows,now i select(checked) the checkbox and click the button means it shows payslip for that particular employee...

View Article


How best to access an Exported Property from an MEF Component at run-time?

I have a WPF application that uses an extensive set of MEF components, some of which have user interface elements or that need to provide data for use in xaml controls. My problem is how best to load...

View Article


Surface controls for Visual Studio 2012 and WPF under Net 4.5+

I am using Visual Studio 2012, Update 3. I have been using Visual Basic and WPF. My application targets Microsoft .Net 4.5 and runs on the desktop. I want to adapt my program to run using touch on...

View Article

Pub/Sub Threading Approach

I am looking for a purely .NET based Solution design approach for the given scenario, on how to consume data from a thread that is passing data at a speed of 100ms, however the receiving thread can...

View Article

datatemplate for generic type is not working.

Hi. I have a generic type like that.public class TestItem<T> { public override string ToString() { return "TestItem"; } } public class Test<T> { public...

View Article

How to change the forecolor of WPF datagrid cells and rows if its text is...

I'm using Prism and VS2012, i'd like to have a DataGrid which has following behaviors:1. if the text of a cell is updated, then the foreground color of textblock in this cell will be changed, e.g. in...

View Article


How to load style using XamlReader.Load()

how to Load below xaml code in user control using xamlreader.load() in c# <Window xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"...

View Article

Image may be NSFW.
Clik here to view.

Problem in report viewer binding in WPF

Hi Everybody,                 I'm using reportviewer in my project. In datagrid i list the employee details. And when i check some of the rows in datagrid, for that employees i have show payslip on one...

View Article


Calendar NOT losing focus WPF 4.0

I have a WPF 4.0 Calendar control (Selection Mode: MultipleRange) and a button in a grid.After selecting dates in the calendar, when I click on the button, the calendar is not losing its focus.  i.e.,...

View Article

Listview paging

I am trying to follow this to do my listview paging but nothing shows up in my listview at all. http://code.msdn.microsoft.com/windowsdesktop/CSWPFPaging-ce1ce482Is it because the way I am binding? In...

View Article


rich desktop application | content authoring tool

Hi,I want to create rich desktop content authoring tool in .net similar to articulate storylineIt will have feature like creating content by selecting templates, adding animation, picture , images,...

View Article

Button Command is not working in Nested Visual Tree(In WPF) ???

I am using Many Data Template to load the different - different views on Run Time  see below example of 1 Data template. In this i am using nested panels and containers and with in that there is a...

View Article

Application Crashes when using more rectangle filling visual brush

Hii am creating a video player where i need to use nearly 50 rectangle to display the same videousing visual brush. issue is it is playing some times without crashing most of the time application...

View Article
Browsing all 18858 articles
Browse latest View live