Split in 4 columns a datasource with two columns
hello,my datasource is :private ObservableCollection<ItemParam> dataItems; public ObservableCollection<ItemParam> DataItems { get { return dataItems; } set { dataItems = value; } }where...
View ArticleMessageBox closes immediately in DispatcherUnhandledException handler
Hi, I have a DispatcherUnhandledException handler in Application.xaml.vb which should simply display an error message to the user, and after the user presses OK, shutdown the application. Code:...
View Articledraw column chart in WPF using text box values....
Hello everyone...I am new to WPF Application. I want to draw Column chart using text box values on button click in vb.net. I am not getting how to do this in vb.net. If anybody knows please tell me....
View ArticleMedia Foundation and Windows Presentation Foundation
Hello! In the company I work for we are considering to use the Microsoft tool chain for desktop-app development. We are developing user interfaces for maritime systems, such as sonars, positioning...
View ArticleHow to Change WPF DataGrid Tab Direction to Columns
It seems by default the WPF datagrid tab direction is by row and I want it to tab across columns. Please help, nothing I have tried works and this is very frustrating. On a side note, I doubt I will...
View ArticleDefine the default XAML code when a custom control is added
Hi,My question is very simple (I don't know if the answer is), I have a custom control of type TabControl.By default I see that Blend add two tabItem to my custom tabControl when I drop it on a form....
View ArticleSimulate double click event is not propagating visual tree
I need to raise mouse double click event when a button is clicked on the same control. I have a double click event handler at the parent and at this control. But the handler at the parent is called...
View ArticleDefault Designer XAML for CustomControl
Very simple question. Been trying to figure it out all morning.How do you define the default XAML when a UserControl is dropped onto the Designer Surface. For example, when a TabControl is dropped you...
View ArticleShowing multiple usercontrols in a single usercontrol
Hi, I have different kind of views(user controls) based on location like (reading from ftp; reading from tcp; reading from file system etc).. All views will have different of operations, on what they...
View ArticleNeed ItemsPanel for following requirement
If I have a collection of data (for ease sake lets say 1 -12).I would like the ItemsControl (most likely a listbox) to list the items as follows :1 72 83 94 105 116 12Tried a bunch of...
View ArticleHow to scroll a list of images in C#
Hi Guys,This procedure is very popular in many major web sites now (please see picture below).Two questions about it:1. What the term for this procedure (what is it called)? 2, What is the proper way...
View ArticleRich Text Format (RTF) Specification Version 1.9.1--Chinese version
Is there chinese version for the Rich Text Format (RTF) Specification Version 1.9.1? If there is the chinese version, how could we purchase it?
View ArticleHow to Handle Selection Changed event for DataGrid Using Command..
I need to use MVVM command for selection changes for any grid items.. I saw that command works only for button click.. Waiting for someone reply soon..Sachin Agarwal
View ArticleTreeview from XML As Options Menu
I am looking at saving user and application settings in an XML file (Which I can do currently with hardcoded values). What I am after is an idea for an Options Window to display ALL settings using a...
View ArticleWPF with MVVM and Entity Framework having Many-to-Many relationship
I am new to .Net but since I have preliminary knowledge of programming I wish to upgrade myself from VB6 to .Net. To start with I downloaded Microsoft's Sample Application "Employee Tracker" and...
View Articlelaunching of excel file from Webbrowser.Navigate() method is too uncertain
After migration of the my application(WPF Application) from VS2010(Framework 4.0) to VS2013(Framework 4.5), the excel is not getting launch from the application. Have used a Web Browser control to...
View Articleexception while navigating webbrowser in WPF MVVM
Hi,I am getting exception 'The requested resource is in use. (Exception from HRESULT: 0x800700AA)', while trying to navigate web browser control in the below code. please suggest, how to solve this...
View ArticleDialogResult Problem
Hi Developer,I am using WPF not WinForms DialogResult dialogResult = MessageBox.Show(.........;I got error message and it says "System.Windows.Window.DialogResult' is a 'property' but is used like a...
View ArticleReference line in Bar series of wpf chart!!
Hello Everyone/Andy/Magnus,I have a cluster Bar series with 2 clusters. I want to add a vertical reference line on the Bars. I can get the Bar series using telerik or Oxyplot library. However, I want...
View ArticleAnimation of usercontrol change!!
Hi everyone/Andy/Magnus,I am trying to animate the usercontrol change. Meaning, I have one mainwindow whose content will be given usercontrols. In short, in one mainwindow, i will be switching many...
View Article