After running convert function in IsEnabled got Specified argument was out of...
Specified argument was out of the range of valid valuesfinal row is to add new row, want to disable delete button and confirm button as this row is only for adding new row<DataGrid...
View Articlehow to retrieve picture from MS Access(object OLE) to image control wpf c#?
Hi all, i'm using C# wpf ans MS Access database and my question is how to retrieve a picture from mdb file(saved as byte) to image control and the saving code works fine but the problem is on the...
View ArticleRow in GridView (of a ListView) won't select when a GridViewColumn that has...
I have a ListView with GridViewColumns. One of the GridViewColumns is templated out (CellTemplate = ...). I placed a simple TextBox there (via a DataTemplate). However, if I click on the TextBox, the...
View ArticleIn WPF/Prism/Unity/MVVM, '[Import]' is undefined
The following scriplet in a ViewModel is generating an undefined error.        [Import]        public IEventAggregator EventAggregator { get; set; }The type or namespace name 'ImportAttribute' could...
View Articleset current time in TimePicker control
Hi All.I know how to set current date in DatePicker control. Now I insert TimePicker control and would like to set current time in TimePicker control. How it to do?Thanks.
View ArticleGet all classes implementing specific interface in all assemblies, in...
I am making a generic way for getting the IValueConverter types within all projects in my solution.So, there is a markup extension called ConverterExtension, that is located in a separate referenced...
View Articlescrollviewer problem with vertical scroll bars visibility
Hi All,I have scrollviewer which is placed in * sized row of grid, them problem is when the window is in Maximized shown then the vertical scroll bars should not come ,but here in this case i see...
View ArticleWPF MVVM CURD operations with sqlserver and DataGrid
Hi , I would like to work out a sample like curd operation on datagrid with database from sql server table . and when i click on ADD button new child window has to open for insert data and need to...
View ArticleTrying to set controls enabled based on code in data context...
Hi,Simple problem. I need to have a xaml control set it's enabled property based on some logic. The form is one where it is in read only or read/write mode. So the "easy" solution I came up with was...
View Articledisable calendar button in datepicker
Hi All.I set DatePicker as IsReadOnly. Also I would like to disable calendar button in DatePicker control to don't allow user select date. If is it possible how it to do?Thanks.
View Articlehow to retrieve picture from MS Access(object OLE) to image control wpf c#?
Hi all, i'm using C# wpf ans MS Access database and my question is how to retrieve a picture from mdb file(saved as byte) to image control and the saving code works fine but the problem is on the...
View ArticleThe WPF Textbox control hasn't ReadOnly Property?
 how to set Textbox realonly?  I would not  to set the enable Property to false. Thx for any helps
View ArticleReference into property of property from DataTemplate
Hi. A bit strange task. Imagine we have DataTemplate where we need to bind on some property. The thing is i need to bind on property of property but not on property of object. Is it possible?
View ArticleManaging bitmaps from WPF (ideas)
hi all of you,I'm migrating a Windows Forms 2.0 applications and I was wondering how to do a bitmap manager inside the app.The old app have a small designer where you can define sections using left,...
View ArticleListBox doesn't notice the new item added
Hi there,XAML (ListBox) <ListBox Name="Llistaimatges" ItemsSource="{Binding}" MouseDoubleClick="ListBox_MouseDoubleClick" Grid.ColumnSpan="4" Margin="205,10,33,91" Grid.RowSpan="2"...
View ArticleWPF + MEF communication between Modules
Hi,I'm new to MEF and would like to do a software where the host needs to communicate properties to each modules. I created a Small project as a test. A HostApp, an Interface and a PlugIn. The HostApp...
View ArticleCannot change the VirtualizationMode attached property on an ItemsControl...
Hi, what is this error?Cannot change the VirtualizationMode attached property on an ItemsControl after Measure is called on the ItemsHost panel.I set the following in my style file:<Style...
View ArticleWPF Toolkit Bar Chart Y-Axis Labels Do Not Correspond to Data
Hi,Wondering, what in the control template do I move so that the bar data corresponds to the y-axis labels? The controls I have created have evolved so far, it does not make sense for me to start from...
View ArticleDataGridTextColumn header binding dynamically
I want to bind WPF DataGridTextColumn dynamically. I try as follows<DataGrid ><DataGrid.Columns><DataGridTextColumn Binding="{Binding NAME}" ClipboardContentBinding="{x:Null}"...
View ArticleNeed to modify Master datagrid to show only 1 record based on combobox...
(WPF newbie) I'm trying out a walkthrough for creating a WPF related data sample -- at:http://msdn.microsoft.com/en-us/library/dd465158.aspxI would like to modify the following so that the master grid...
View Article