Quantcast
Browsing all 18858 articles
Browse latest View live

Load combobox data inside datagrid

Hi All,I hope somone can point me in the right direction here. I have a datagrid which I load from a linq query into an observablecollection. Inside this data grid I have a combobox where I want to be...

View Article


Multiple targets for a single poco

I want to bind multiple ContentControls to a single property. The property is of type canvas, it won't work because a canvas can only be a child of ONE control:private Canvas mycanvas; public Canvas...

View Article


This is the best DataGrid Beginner's Tutorial I have found...

I haven't even read it with detail, but some of the questions I had were solved by copy&pasting the XAML code:...

View Article

System.Collections.Object.Model.ObservableCollection

I can't see what the problem is, even refactor created the same method signature but I get this error. Trying to send a collection of data to a...

View Article

How can I avoid a second, clone DataGrid table?

Note: The 2 images below show the DataGrid BEFORE being populated.This was my app's original look:    http://patriot.net/~ramon/misc/With-Simplest-XAML.pngwhich is accomplished with minimal XAML; the...

View Article


Service provider is missing the INameResolver service

I have this strange error: Service provider is missing the INameResolver service.   at System.Windows.Markup.Reference.ProvideValue(IServiceProvider serviceProvider)   at...

View Article

WPF DataGridRow IsMouseOver Foreground is not working while it's IsSelected?

Hi,I found that DataGridRow Foreground IsSelected and IsMouseOver is not working well. I'm looking a solution to set Foreground IsMouseOver overriding Foreground IsSelected when it's IsSelected for...

View Article

Converting ImageSource to Bitmap

Hi everybody..I need a function to convert an input ImageSource to a BitmapThanks a lot

View Article


Annoying auto scroll of partially displayed items in WPF ListBox

Problem: I havea ListBoxwith items having differentheights.When I clickon an itemthat is partiallyvisible jumps(scrolls)the elementuntil it is completelyvisible.I click onabutton,then the...

View Article


cannot see the image in run-time (wpf button)

hi all of you,How odd! In design-time I see the image inside the button but when I run my app button appears wihtout it..I've tested on PNG files too unsuccesfully...[...]       <Button...

View Article

WPF Datagrid progress bar cell

Hi all of you,My goal is be to able to define maximum value for my progressbar cell depending on other value in the same row:"Maximum" value should be connected with "Stock_max" sql field instead of to...

View Article

taborder in datagridrow

WPF isn't respecting my tabindexes between the DataGridCellsPresenter and the DataGridDetailsPresenter.  When the wrapping container DataGridRow Border has it's attached...

View Article

Inline filtering for WPF Datagrid

Hi all of you,Have you got any sample of that? I mean, directly filtering using the headers...Enric

View Article


Connecting two device screen using wpf

I want to display screen showing  connecting two devices .How do I achieve it? I dont want to use normal message box .Looking for some funky screen.Thanks,

View Article

WPF ribbon crashes the application when using XP

I have a wpf (mvvm) application and I added the wpf ribbon. Works fine and look good on windows 7 but crashes on XP.  what can I do about it?Thanks for your help!

View Article


Loading images on WPF DataGrid

Hi all of you,Primary platform is Framework 4.5, vb .netIt's very simple but I don't see my images loaded in my datagrid."foto" is the name of the SQL field which contains local path on my computer.If...

View Article

Layoutstates for wpf?

Hi, I looked at the new layoutstate technology and read that it was only for silverlight for now. Is it coming to wpf and if so, is there any indication as to when it is?It looks like a great...

View Article


LayoutTransform and ScaleTransform; CenterX/CenterY not working

I have an image I am scaling with a ViewBox, setting LayoutTransform to a ScaleTransform. My XAML looks like this:            <ScrollViewer                       x:Name="m_SiteImageScroller"...

View Article

Load xaml file from another project using XamlReader

I have  a project say x with class Prints.xaml and button is defined as below: <GUIButton x:Name="CropView" BorderThickness="0" BorderColorKey="Black" ColorKey="Transparent"...

View Article

WPF 2012 application take up the focus..

Hi all of you,Every time I run my WPF application I cannot use either ALT+TAB or maximize any other app in my Windows 7 toolbar.How can I change this behaviour?Thanks for your help,Enric

View Article
Browsing all 18858 articles
Browse latest View live


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