Generic.xaml not able to be seen by the WPF designer in a Winforms application
:) first post on this forum. I'm used to Stackoverflow. Sorry if i break any of the etiquette of this forum. So to start off I have seen this problem in VS2010, 2012, and 2013 RC. The project I am...
View ArticleAxisAngleRotation3D How to rotate a point into the XY plane?
I have a set of points 3D that I have translated to a new origin. I need to rotate (not project) these points so that their Z component becomes 0. To calculate the angle, what I am doing is taking the...
View ArticleIs it planned to provide docking manager control like VS has for WPF?
Hello.I want to know why WPF team does not provide dockingmanager control that use Visual Studio by itself?And is it planned to provide such control in nearest future?I know about dockingmanager...
View ArticleMany to Many (Students , classes example) DataGridComboBoxColumn binding...
I have a WPF / entity framework application, my model have student , class entities there is a many to many association/relation between student and class (student can have many classes and class have...
View ArticleLostfocus event to be fired only on tab click from keyboard
I have a textbox with lost focus event(integration triggers(mvvm)) to call some method and button to clear the textbox.I want event to fire on lost focus(i.e on tab click from keyboard).My issue is I...
View ArticleInserting related data into 2 tables using DataSet, TableAdapter and DataTables
Hi,I have 2 tables in a MySQL Database, combined with an 1:n relationship. Table1 has an auto incrementing id column.My goal is to insert a row in table1 and as many rows as I want in table2. The rows...
View ArticleDatagrid enter/return key goes to next row.
Hi,I have a DataGrid and I want to stop the enter key from sending the selected row to the next row. I have looked around and found suggestions to do it as below but both solutions don't work for me....
View Articleproperty content is set more than once
Am actually new to wpf, I tried using hyperlink on wpf following a process i saw from someone but I am getting this error from my code. Error: "The property 'Content' is set more than...
View ArticleObjectDataProvider Binds To DataContext
I have stumbled upon ObjectDataProvider and I am wondering if I can configure ObjectDataProvider to use the ALREADY EXISTING instance of DataContext. Futhermore since DataContext is usually a ViewModel...
View Articledragdelta or dragenter event in dragging
Hi All,I have custom control for CalendarPage which is a page same as Outlook calendar here i have appointment controls which are also custom control. for dragging up/down of this appointment control ,...
View ArticleHow to reterive the index value of the items stored in the listbox
hi i want to remove the item from the listbox based on condition for that i want to get index value for that itembased on that i can remove the particular item in the list box if any one have any...
View ArticleSmooth Scrolling on ListBox
I'm using a ListBox styled like a StackPanel to display data. The data is a list of objects, so each ListBoxItem is bound to an item. Some ListBoxItems are very tall, others very short. The ListBox...
View ArticleHow to select the datagrid row by hit the "Enter" key in Keyboard and also...
Hi Everybody, I'm using data grid in my project. I want to select the row in two ways.1. By hitting the Enter key2. By mouse double clickNow i got by mouse double click.How to do it the...
View ArticleHow to create shortcut key for datagrid selected items in wpf
Hi, i want to create shortcut key for datagrid selected items...shortcut key as Enter,Please help me
View ArticleHow do I get the stackpanel objects present in a listview?
Hi,I have listview control with few run time rows, I am using stackpanel to show rows. Each row has 13 controls in it.I want to navigate to each row on TAB press for this I need the stackpanel object...
View ArticleWPF DataGridCombobox w SQL Server Database Example
Hey Everybody,I've been researching this for over a month and I can't find an actual working example.What I'm looking for is a working example of a WPF Datagrid with a combobox that uses one table from...
View ArticleContext menu items binding
Hi. I'm very new to WPF and i'm using context menu like this in my app : <ContextMenu> <MenuItem Header="First Menu Item" /> <MenuItem...
View Article'tabpages' is not a member of 'System.Windows.Controls.TabControl'.
Sorry for this simple question as i'm new in WPF and vb.net.I'm getting the error message: 'tabpages' is not a member of 'System.Windows.Controls.TabControl'.when i want to call the tabpages.Below is...
View ArticleValidate XML against XSD in WPF XmlDataProvider
Can i validate XML against XSD in WPF XmlDataProvider dynamically? For Example, In XAML page i have, <XmlDataProvider x:Key="products" Source="Products.xml"...
View Article