Loading views from various modules upon pressing Ribbon buttons in PRISM
I'm developing WPF application using PRISM. I have two regions :Ribbon region (which has got buttons to launch views from different modules)View Region (in which views from different modules will be...
View ArticlePropertyChanged Null when not visible
hi,I am having issue with a Collection shown in a Listview giving null on PropertyChanged when the item is not visible in the UIHere is what i am trying to do.I have a Checkbox in the list view that is...
View Article? about deleting row from WPF datagrid and datatable
I'm trying to delete a row from a WPF datagrid and the datatable it's bound to. Using this suggestion, and others like it, SelectedItems always returns 0 or "Nothing".I put a "Delete" button on the...
View ArticleLoading RTF file with images to FlowDocument in console application
I am creating simple console application where I need to load RTF file to FlowDocument for further work. I am using this code for loading file to FlowDocument:// Create OpenFileDialog...
View ArticleCalling Google Maps from one WPF app
hi anyone, does someone have some good sample of connecting Maps from WPF 4.5?Primary platform is Windows 7 Ultimate 64 bit along with VS 2012/Sql2k8 for WPF/SilverLight projects.
View ArticleQuestion - WPF datagrid add new row with default values, then edit?
I update the database after every cell edit. Datagrid is bound to a datatable. If a new row is added via the datagrid, I capture that event and put a value in a column in the new row in the...
View ArticleDocument property does not exist in webbrowser control Access 2013
Hi allI have just moved over the office 2013 but I have immediately noticed some challenges. First thing is the web browser control (the one in the ribbon and not an active-x control). There does not...
View ArticleYou could be September's TechNet Guru! Turbo charge your CV with awards and...
TechNet Wiki is partnering with... YOU! Give us some juicy technical content and we might big you up!It really is that simple! Show us your forum solutions or drop us some nifty snippets and become...
View ArticleSystem.Windows.Data Warning: 40: 'IsChecked' property not found on 'object'...
Hi,System.Windows.Data Warning: 40 : BindingExpression path error: 'IsChecked' property not found on 'object' ''RibbonQuickAccessToolBar' (Name='')'. BindingExpression:Path=IsChecked;...
View ArticleOld methods: translation
hi, Dim mapURL As String = "http://maps.googleapis.com/maps/api/staticmap?" & _ "center=" & lat & "," & lng & "&" & _...
View ArticleWindows Content did not show up when we use Window.ShowDialog()...
Hi,I use WPF in .Net 4.0, When I show a modal dialog using Window.ShowDialog(), sometimes, the content in the window is empty, when you move your mouse over the window, the controls on the window start...
View Articleembedded Windows 7 calculator in a WPF view?
hi ya,was wondering about to place calculator OS in a Windows Forms Host from a WPF view..TIA,Primary platform is Windows 7 Ultimate 64 bit along with VS 2012/Sql2k8 for WPF/SilverLight projects.
View ArticleFill datagrid from sql query, then save all datagrid including edits back to...
Hi everyone,I have only been programming in WPF for about 8 weeks now and have been trying to create a program at work that would save us around 10 - 15 mins a day.My problem is that we must create an...
View ArticleHow to create a new Window from a ViewModel
To create and open a new Window, the Owner of the new Window has to be set to be the object reference of the parent Window from which the new Window is to be opened.E.g. Without MVVMprivate void...
View Articlehow to refer the check box control present inside listview control in wpf
I am having checkbox inside listview . i want to refer the checkbox from button click eventi tried this code CheckBox myTextbox = GetTemplateChild("chb_standard") as CheckBox;...
View ArticleWPF Binding XPath Problem
I am trying to color the first column in my WPF DataGrid based on XmlDataProvider Document data. Here is partial XML:<Settings xmlns=""><Charting y_max_max="2000" y_max_min="-1900"...
View ArticleHow to update TextBoxes when using a Default button
The fact that the default UpdateSourceTrigger value for TextBoxes is LostFocus, is a problem when the Window has a default button (button whose command is automatically executed when the user hits the...
View ArticleWPF DataGrid scroll bars not visible when HorizontalScrollBarVisibility and...
I'm adding a DataGrid to a Grid and setting both the HorizontalScrollBarVisibility and VerticalScrollBarVisibility to Auto. When I populate the DataGrid, there are no scroll bars. ANy idea what I'm...
View ArticleWhich database is Suggested for c# wpf applications????
I developed an application using c# wpf and sql ce in visual studio and i stored some data in sql ce. After completion of the application i installed it in another pc and my application is not running...
View ArticleDoing simple calculations within a DataGrid row.
Hi,i've got a Datagrid control which is bound to an object of cOrdersCollection containing cOrders items. The datagrid contains 3columns. The first column, a DataGridComboBoxColumn is bound to the...
View Article