Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Browsing all 18858 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

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 Article


how 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 Article


Row 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 Article

In 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 Article

set 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 Article


Get 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 Article

Image may be NSFW.
Clik here to view.

scrollviewer 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 Article

WPF 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 Article


Trying 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 Article


disable 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 Article

how 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 Article

The 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 Article

Reference 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 Article


Image may be NSFW.
Clik here to view.

Managing 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 Article

ListBox 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 Article


WPF + 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 Article

Cannot 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 Article


WPF 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 Article

DataGridTextColumn 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 Article

Image may be NSFW.
Clik here to view.

Need 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
Browsing all 18858 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>