Getting ERRORS when I try to use MSBuild or LocBaml with a WPF Application.
I am getting ERRORS when I try to use MSBuild or LocBaml with a WPF Application. Here is what I am doing. I need help in learning how toLocalize an WPF Application according to Microsoft textbook "MCTS...
View ArticleLeaving a dropped down ComboBox swallows focus in WPF
I have the following problem: on a WPF window I placed a combo box and a button. I drop down the combo box and while the combo box is still dropped down I click on the button. The button does not...
View ArticleCan't change ComboBox Background
I have two machines with Visual Studio 2013. I am developing in WPF. On one machine I am able to change the ComboBox Brushes either in code or via the property grid. On the other machine I can change...
View ArticleFilter WPF datagrid comboboxcolumn based on another datagrid comboboxcolumn
I have a datagrid in Windows Presentation Foundation with two comboboxes. The first combobox is Provinces and the second is Districts. I have tables in SQL for provinces and districts with proper...
View ArticleCLR property in ViewModel set to DataTemplate
Hi,I have CLR property which has collection of custom class and I want to bind on DataTemplate.Please help.
View ArticleWPF Windowless App - Weird Icon
Hi all,I have a windowless app, that is effectively a silent background app. It has no footprint in the tray. However I've recently noticed that it is in fact displaying a small, circular icon, that...
View ArticleVB/WPF: How to clone a DataGrid and it's data to a DataGrid on another form
I need the ability to create an exact copy of a DataGrid, along with it's data and column formatting, for showing in a separate form. We have a VB6 version of this working where we duplicate a Listview...
View ArticleHow to design a desktop application with Visual Studio' look and feel
Hello, I want to open different documents, drag and drop in tabs, I wnat auto hide tabs that can be pinned, toggle views one documen on top to another or split window in halve. Thanks in advance.
View ArticleRibbon Gallery Item/Button Positioning
Hi,I've created an Excel add-in Ribbon with a gallery in it containing both items and buttons. By default, the buttons are below the gallery items, but I'd like them to be on top. Is there a way to do...
View Articlewhen to use .net set collection in real time ?
Hi,when i have to use .net set collection ? could you please explain me with real time example ?ThanksBatcha, Alavudeen
View ArticleTransforms/Animation Effect?
Hello All,I'm new to WPF and for the life of me I cannot figure out what types of tranforms/animations were done to create this effect in the pic below. The effect I'm most interested in is how the...
View ArticleShow/Hide Datagrid RowDetail
Hello please, is it possible to HIDE and SHOW Datagrid RowDetails without using ToggleButon, Arrow , Buton, or checkbox ??Just onclick on row ==> RowDetails Expandclick again on the same row ==>...
View ArticleObservableCollection and Thread Safety
I have a thread safe implementation of the ObservableCollection that locks when adding, removing and firing the CollectionChanged event (in case a listener would like to iterate it).Now I'm wondering,...
View ArticleScrollIntoView lose focus with virtualization
I'm trying to focus my SelectedItem with ScrollIntoView but it won't work because of the virtualization Here is my code on the SelectionChanged method AnimalDataGrid.Focus(); if...
View ArticleFont Family Names not sorted
I have a simple ComboBox with font family names like<ComboBoxName="FontNames"HorizontalAlignment="Center"VerticalAlignment="Center"Width="144"ItemsSource="{x:Static...
View ArticleWhich approach is good for creating a document viewer in WPF?
I need to create a document viewer in WPF. The document is read-only. This is not an editor.The document usually is very long and not paginated (meaning it is a long scrolling document).The document...
View ArticleHow to Save/Restore GridSplitter Position?
How do I retain the position that a user has set a GridSplitter to?I have a grid with two ListViews separated by a GridSplitter. If the user sets the splitter position I would like to save it using...
View ArticleReport Viewer doesn't update with new parameters in the same session.
Hello every body,I'm writing a reporting application in WPF. Firstly I created the stored procedure in SQL server to collection infos with 2 parameters (@from and @to both date type).I create a RDLC...
View ArticleHow to make a window automatically grow with its contents
Hello All,I have a window, with the windows title bar removed, and in there, I have a custom defined listbox, lst, that binds to code behind. The minimum amount of items in this list is one - and hence...
View Article