Aug 31

In WPF, is it possible to apply a Converter to the SortDescription of a CollectionViewSource? My ViewModel contains a List<> of a class that contains an enum and a Boolean. My XAML displays a multi-select ListBox, showing the localized names of the enum values using a Converter in the View, and binds each ListBoxItem’s IsSelected to the Boolean in the members of the bound List<>. That’s working. Now I want to sort the ListBox items by those localized enum names, without reordering the List<> in the ViewModel. How can this be done?

I’m not sure it can be done directly. The brute force and ignorance way I would tackle it with is to populate another list and sort that (or indeed populate a sorted list).

Aug 13

help me to get a book , pls

If you are looking for help with Windows Presentation Foundation, try looking at these books available at Amazon. http://ow.ly/2j6UQ

Aug 9

I’m searching for the name of the control in WPF or WinForms that encompasses a window within an application, like how you can close a workbook in excel without closing excel.

Does anyone know what this is? DockPanel? Grid? Canvas?

I think its TabControl

Aug 6

Need to know my salary band (min to max) in Singapore?
Experience:6 - 7 years
Profession: Senior Software Engineer
Expertise:WinForm/WPF development
Origin:India
Expecting answer in Singapore Dollars.
Thanks in advance.

This is not the right section to ask this question choose another one.

Jun 17

I am currently studying computing at sixth form and am learning C#. I was wondering weather I would be better off diving straight into WPF or use windows forms, then progress into WPF in the future.

(I have also had some experience in pascal/Delphi)

Thanks in advance
Robert.

Hi,
:D

WPF - since everybody and their dog is developing systems for the www. You’ll find doing any form a breeze, and once you know how to do WPF forms, you’ll be able to do Windows Forms.

na

Jun 14

I’m trying to add a numericupdown control to a WPF document but am having a hard time trying to find out how to integrate the two. Can someone help me?
Matt- I know it’s not good, but it’s a required assignment for my C# class.

Don’t integrate the two; if it’s even possible, it’s a kludgy solution. Try:

May 26

I know i can google them… but i would really appreciate if some one could just give me a jist…

windows presentation foundation
WPF is the latest in desktop app development in .Net. It features markup based layout much like asp.net. The markup language is XAML. It provides a new way to develop desktop applications keeping UI and logic separate.
windows communication services
WCF is used to communicate between different applications with stuff like services. It is much like web services, but is much more robust and configuration enabled. WCF web services can be configured to act like asmx webservices, or use json or something else. Anything that represents a service can benefit from WCF, such as web services, windows services etc.

May 1

I am .NET programmer with 8+ years of programming experience , soon to become a PR (hopefully!). Would like to know if there are many jobs out there in this field in Sydney. What is an average programmer salary like ? Thanks much.

Your employment prospects should be good. It may take 2 months or so to get a good job as the economy is a bit slow. You should be able to get at least 75k or more if you can find work inhouse for a bank or in the mining industry.

Feb 27

Using c# windows form, hosting a wpf user control, the buttons on the user control only allow a click on the content of the button, but not on the button’s blank space. Is there a property that changes this?

Have you got the click handler on the content rather than the button? I tend to code buttons as:

<Button Content="Click Me!" Clicked="OnClickMeClicked"/>

You might have:

<Button><TextBlock Text="Click Me!" MouseLeftButtonDown="OnClickMeClicked"/></Button>

(Although that seems unlikely, but it’s possible.)

I’m always caught out by windows that don’t have a fill, even a transparent fill, associated with them. If it isn’t painted, it isn’t clickable!

Feb 8

A graphical project using WPF

hmm.. i did this a soccer game project, but 3 yrs back… it was damn cool… i forgot the book name… just log on to google books & try..

« Previous Entries