November 27, 2007 4:31 PM
Posted by: MarkWPF
WPFLet's go back in time.... Back to the dark ages of IT
Somebody, I'm not sure who, invented a mechanism called MVC [model view controller] and life was good. It did seriously help with the early nightmares in the object orientated world. For most of us, that meant C++ :-)
It separated out the...
November 23, 2007 3:55 PM
Posted by: MarkWPF
WPFHave you ever wondered how you enter custom classes into the new vs2005 (and vs2008) settings editor?
Or like me, desperately tried to do so and couldn't the information anywhere.
A little information as to what I'm blathering about.
In the VS2005/VS2008 settings editor, you can specify the...
November 23, 2007 3:33 PM
Posted by: MarkWPF
WPFWhen you are updating the items or the collection pointed to by ItemsSource on an ItemsControl (or ListBox or ListView), do you wish you could SuspendLayout and ResumeLayout, like in Windows Forms days?
Well, you can!
What you need to do is call DeferRefresh, like...
November 22, 2007 12:01 PM
Posted by: MarkWPF
WPFI believe there are a number of missing controls from WPF as of November 2007, despite the RTM of Visual Studio 2008, by comparison with Windows Forms v2.
- NumericUpDown (aka Spinner) - is a serious omission as it's not simple to replicate
- DomainUpDown - is also a serious...
November 15, 2007 3:48 PM
Posted by: MarkWPF
C,
ListView,
WPFI have seen a number of blog entries along the lines of 'ListView is too slow', or 'WPF is too slow', or the worst one of all 'ListView has performance issues'.
Obviously none of them mention any details, nor elaborate on what issues there might be - sounds a bit like an old project manager of...
November 14, 2007 2:03 PM
Posted by: MarkWPF
WPF
A listbox can easily be used as a multi-column list in WPF. To do that, you need firstly, a listbox:
<Listbox x:Name="lbFields" IsSynchronizedWithCurrentItem="True" ItemsSource="{Binding Path=blah}" >
Then, you need to define a couple of templates, one for...
November 12, 2007 3:05 PM
Posted by: MarkWPF
C,
Databinding,
WPFHow did that happen?
I personally think it happened because when we were all looking at WPF to begin with (in CTP days), it was very obvious that there was no Grid.
Then, because of that people noticed that the ListView control had the option to specify a grid version as one of it's views. That...
November 9, 2007 11:04 AM
Posted by: MarkWPF
WPFThere are a number of different elements to an Acropolis application, and they are:
- part view
- What you see! The user interface portion, and they are sometimes referred to as skins. In the MVC world they were called views.
- part
- In...
November 9, 2007 9:23 AM
Posted by: MarkWPF
WPFIf you are doing drag and drop by hand (rather than using Josh Smith's excellent DragAndDropManager - http://www.codeproject.com/WPF/ListViewDragDropManager.asp) for whatever reason, one thing to be careful is to to allow...