Application Architecture for storing components in centralized stores such as...
HiWas wondering if anyone has had experience in developing WPF / VB.net applications that can store program components within a database and could share some tips or point me in the right direction for...
View ArticleUsing a dataset to populate a datagrid's combobox in WPF
I'm using WPF and trying to show a datagrid with a combobox for one of the columns where both the grid and the combobox are populated by datasets.I'm running into 'Resource can not be found' errors in...
View ArticleProgress bar not working correctly in Asynchronous call
I have used the progress bar in one window and I have set TRUE IsIndeterminate property. I have used asynchronous call for display the Progress bar window. It has stucks but the background process...
View ArticleUpgrasded to .NET 4.5 and now get "Cannot add instance of XXX to a collection...
I have a class called GenericClickCommander that extends System.Windows.Interactivity.TriggerAction<FrameworkElement>. In XAML I have;<I:Interaction.Triggers><I:EventTrigger...
View ArticleHow make ScrollIntoView keep a ListItem fully in view?
I’m using ScrollIntoView to keep ListItem visible when moved up or down a list. This mostly works, i.e. the ListBox scrolls up or down. However, it seems always to be one row off where it needs to be!...
View ArticleLab Machine Interfacing
HelloI'm a newbie in C# programming but I am having a big problem. I have been given a Lab Machine and I'm being told to make a software to interface and pick up data from the machine.I don't know what...
View ArticleWPF DataGrid collapse all expander groups
Hello Guys!I have a problem with collapsing the expanders from a grouped data in a WPF datagrid.I followed the solution here, but it only collapses the expanders that are visible in the datagrid.I have...
View ArticleFind usage in XAML
HiIs there a Ctrl-K,R that also searches XAML? I'm in the process of a major refactor of a WPF project and this is killing me. Find in files doesn't really do the trick - as soon as so you have a...
View ArticleHow To Find Control?
Hi,I have used many control in my application (e g: button,data-grid, list-box etc., ) and each control use separate wpf form.my requirement is the application is running and the first window contain...
View ArticleSimple request - converting xaml to a style
Hi all,I have a comboBox where I have defined a DataTemplate so I can have multiple columns. The combo box looks like this:<ComboBox Name="cboCit_type" IsSynchronizedWithCurrentItem="True"...
View ArticleNull Reference Exception with only microsoft stack
Hi,in my WPF app, i have Infragistics Gallery button in the ribbon control. This gallery has different set of layouts for the application. So when I select one of the layout, the application should...
View ArticleTwo way databinding with Linq to SQL in a WPF textbox or other control in C#
I'm new to both Linq and WPF and I'm looking for a good resource to understand the concepts better (XAML Databinding and INotifyPropertyChanged specifically when using Linq). Ultimately I want to use...
View ArticlePasswordChar property in WPF?
Hi there, in Windows Forms stuff I used to have PasswordChar property in a textbox where you can settle an asterisk as character by default, is it possible do the same in WPF world?thanks in advance...
View ArticleWPF window at startup?
Hi all of you,My aim is very simple: when I run my WPF 4.5 app should be visible a little window asking user and password and, at the same time you can see whole view behind (it is just a view like a...
View ArticleStackPanel not rendered correctly
Hi all,I wonder why my stackpanel in the datagrid column header is displayed like this:"System.Windows.Controls.StackPanel".I know that this happens if there is no data template for poco classes, but...
View ArticleHow to pass the text for the tooltip using parameters from my XAML?
hi ya,I need to define the text for one customized tooltip object in my WPF 4.5 app.My view:<Button Height="30" Content="Click Me" Margin="593,41,-295,89" Grid.Column="1"...
View ArticleHow to bind code to a DependencyProperty?
We have a UserControl that defines a dependency property. How can code behind subscribe to changes in this property?Property defined like this:public partial class DateRangeSlider : UserControl...
View ArticleUpdating Data on Target
Hi all!I read about Data Binding. Documentation is written that after updating Source Target update automatically. But real updating hasn't occured.XAML Code:<Window...
View ArticleXmlDataProvider Settings File Challenge
I have a WPF application which is to be installed on a user's PC. Everything works great on my DEV PC (of course), but there are issues with the target PC. Specifically, the XML Settings file is not...
View ArticleRun function when Drag&Drop is finished
Is there a way to run a function when Drag&Drop operation is finished. It would need to fire regardless if user released mouse button in the drop zone, somewhere else of just cancels it?
View Article