WPF Carousel with drag and drop features to a ListBox
Hi, I want to develop a WPF Carousel with drag and drop features to a ListBox. How could that me made possible ? Thanks
View ArticleTreeViewItem doesn't give the focus to a TextBox inside its ControlTemplate
Hi I am working on a custom tree view that displayes detail data in a hierachical list, like a ListView/GridView. It uses TreeViewItems as its Item type, not a derived type. The Control Template for...
View ArticleDynamically displaying UserControls On window and Sending Response to Parent...
Hi I am trying to Load user controls on Window dynamically and using MVVM architecture for this.To load the...
View ArticleWPF charting toolkit static not moving tickamrks
Hi, I have created a chart in my wpf app, using System.Windows.Controls.DataVisualization.Toolkit. I have several lineseries in this chart, with DateTime X-Axis and decimal Y-Axis, and every step, lets...
View ArticleProblem in getting Data Grid row count in form load in WPF
Hi Everybody,I'm new to WPF. I 'm using datagrid in my project. When the form is loading the datagrid is getting bind from database. On that same time i want that no of row binded in data grid ....
View Articlehow to focus a textbox at initialization of popup using MVVM
Hi EveryOne, In MVVM, TextBox should focus and select when popup initialize first time. At Present textbox is focused and selected at second time.But its not coming at first time.Regards,StalinRaj.
View ArticleKeyDown EventHandler ignored when pressing 'Enter'
I am trying to display a MessageBox when the user presses enter on the keyboard, but the event does not seem to fire for the Enter-key? It works with other keys but not with enter...how to...
View ArticleAllowing user to print specific pages in C# WPF FlowDocument Application
The box above is what is called when a print() method is initiated on a flowDocumentPageViewer of flowDocumentScrollViewer. In My application, I want my users to be able to select specific page range...
View ArticlePrint out a paginator with PrintQueue
Hi,I want to print a paginator (type is inherited of DocumentPaginator) with an instance of a PrintQueue:var writer = PrintQueue.CreateXpsDocumentWriter(printer); writer.Write(paginator);I can...
View ArticleProblem with binding (need change in data to automatically update display)
I've got a very nice listview display (just a portion shown below):Created from this XAML:<Window x:Class="DinosaurIsland.ActiveDinosaurList"...
View ArticleUpdate throwing exception in WPF databinding
Hi!I was part following this walkthrough http://msdn.microsoft.com/en-us/library/dd547149.aspx but with a more simplistic take. Just an editable datagrid using VS2012 and SQL Server CE. My project is...
View ArticleMVVM, DataGrid, CollectionViewSource doesn't save with EntityFramework
I'm having trouble saving from a MVVM Datagrid to EntityFramework. Here's the relevant code...// members in my ViewModel... public CollectionViewSource MyEntitys { get; set; } private...
View Articlehi i want to cpu usage in percentages. so i want custom progress bar with...
hi i want to cpu usage in percentages. so i want custom progress bar with tick marks as 0% ,10%,20%,30%...100% ____ | |...
View ArticleArrow keys(left,right) down is not captured from PreviewKeyDown event within...
Hi,I was just trying to capture left arrow and right arrow key movement over the text in wpf textbox. I implemented a wpf attached behaviour for the textbox and bound PreviewKeyDown event.Although,...
View ArticleRESX file not working after build
I am trying to localize my application and I am using resource files for the different languages. Locally it is working great but when I build my application in TFS its like the resx files aren't...
View ArticleBug: Dispatcher and WriteableBitmap
I think I found a bug. It is a little complicated to set up, but here goes. Have tested on Windows 8 and 7.Create new WPF project. Insert an Image control and name it "ImageControl". Insert following...
View ArticleFocus on Text Box
Hi,I have a listview and I have placed a textblock and textbox on each cell. When a listview item is selected, its textbox visibility is switched to visible, so user can change the value of the...
View ArticleWhat is the standard for context sensitive help in WPF?
Microsoft Visual Studio (2010) doesn't seem to employ the same help system as standard Microsoft Windows apps (Notepad, Calc etc) or Microsoft Office (2007). It puts a (rather annoying) icon in the...
View ArticleApplication Architecture for storing components in centralized stores such as...
HiWas wondering if anyone has had experience in developing WPF / VB.net applications that can store program components within a database and could share some tips or point me in the right direction for...
View ArticleTextBlock dynamic binding
I have a WPF TextBlock bound to a string using Dynamic resourse. If that string is null, I want the TextBlock to display binding value.<TextBlock Text="{DynamicResource keyState}" >if...
View Article