how to create a standalone excel chart in C#
Hi,I have a set of data in a already existing excel spreadsheet, and want to draw graphs regarding the data. So far I can successfully create the graph, but the problem is that I want to have more than...
View ArticleModify ItemsControl generated from XAML via Codebehind
I have a collection which I want to place on a grid. The collections items have properties that refer to where on the gird the item should be placed, and how many columns and rows the item should span....
View ArticleBinding XML with WPF
Hello,I have a xml like this:<Trans> <Languages> <LanguagesID>c9759ba9-a812-4f84-ae8c-1d95645d4a6d</LanguagesID> <ISO>ces</ISO> </Languages>...
View ArticleHow to print multiple page ranges with WPF PrintDialog
I used following codes to print a visual to a printer, the page range is from 1 to 3;Code snippets:PrintDialog printDialog =newPrintDialog(); printDialog.PrintQueue=CurrentPrinter;...
View ArticleHow to group DataGrid which ItemsSource is DataView from...
I don't know how to apply PropertyGroupDescription. And only want to group by one column.Best RegardsPrzemysław Staniszewski
View ArticleHow to remove NewItemPlaceHolder from CollectionView
Printing procedure requires that the input Collection implement IQueryable interface. I try to pass in procedure CollectionView, which used as ItemsSource for DataGrid. But I get an error message...
View ArticleImplement Basic operations to a grid as in windows application
I have a grid like follows and buttons like follows(My windows application works in this way). It have add,modify,save,delete buttons. When add button is clicking one new blank row will come. The user...
View Articlewpf blank page displays
I created a hello world WPF Browser Application. When I debug the application, all i ever get in my browser is a blank page. Is there something I need to do to be able to create a WBP Browser...
View ArticlePART_EditableTextBox with Image showing In the ComboBox issue
Hi,I want a ComboBox that in each of the item, there is an image and a TextBox. This is easy to be resolved with the datatemplate.What I want is, If the ComboBox is Editable, I also want to show the...
View ArticleWhat is the correct way to organize the Buttons of the ribbon when there are...
I am working in an application that didn't have a ribbon before. We are making major changes in the way the functionality of the application can be accesed, but not in the functionality itself.The...
View ArticleColorAnimation, StoryBoard and DataTrigger: Starts but doesn't stop
Hi In a control template I have a rectangle whose style has a DataTrigger that listens to some boolean view model prop, which is most of the time set to "false". When it turns to "true" a StoryBoard...
View ArticleWindowChrome and TextOptions.TextFormattingMode="Display"
Hello! I've created a simple NET 4.5 project with XAML describing window:<Window x:Class="WpfApplication4.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...
View Articlehow to show powerpoint files in wpf (no office installed)
hi,i want to show power point ppt and pptx and ... files into wpf or windowshost wpf application.i won't install office application or other app,i want to copy office template or components to local my...
View ArticleMake a control out of a design
Well, we hired a company to design the entire application.Turns out, they did a joystick design, but it's nothing but Canvas and ellipses. I wonder how can I make this a joystick control, that the user...
View Articletabcontrol and listview content - selecting the currently selected tab's...
I've got a TabControl with several tabs and datatemplated listviews inside of them. I want to gain access to the listview (and scroll it to the top, I already know how to do that). The code I have...
View ArticleWhat are the rules to implement MVVM in WPF Application?
I have a basic understanding of WPF and MVVM. I have read some basic tutorials for that.My manager has give me a wpf project and told me to manually check whether that wpf project has fully implemented...
View ArticleHow to remove the blank space above the verticalscroolbar of datagrid in wpf?
I use standard DataGrid control in wpf. If the vertical scroll bar is visible, there will be a blank space appears at the top of the vertical scroll bar and at the right of the last column header. My...
View ArticleWPF Grid Gridlines Style and Alternative Row Color
I would like to create my custom Grid using Resources Template but I could not find any example on the official page.How could I define the Grid so I could change the Gridline Style and Row...
View ArticleApplication not running without visual studio 2012
i have developed wpf application using mvvm light framework and extended wpf toolkit,this application have main window and popup window, the application break after i opening the popup windows, this...
View Article