vbCity
Migrating to the new kind of Visual Basic Developer Community

Blogs

  • WPF Missing In Action - The Button PerformClick Method

    PerformClick is one of the many casualties of a move from Windows Forms to WPF. Of course, it's probably not something you would need to use often, but just in case you do then there is a way. It's not a very intuitive way and - had it not been...
    Posted to xtab by Admin on 11-15-2008
  • WPF project for Background Colours

    It is a little longer than I expected to get the the project that goes along with this post about background colours in WPF but as they say better late .... The project can be downloaded from here .
    Posted to canoz by Admin on 10-25-2008
  • The Ampersand and XAML

    I got caught the other day with a "what the heck" moment. I was trying to display "Mr & Mrs" as an Item in a ComboBox but it just was not happening. I suppose that this would not have come to light if my computer was not slowing...
    Posted to canoz by Admin on 10-25-2008
  • WPF MIA - Anchor, Alignments,Canvas and Margins

    Continuing my look at features that seem to be Missing in Action (MIA) from Windows Forms, vbCity colleague Matt pointed out to me that the Anchor property seems to have disappeared. I'm really pleased that this came up, because it gives me an opportunity...
    Posted to xtab by Admin on 10-25-2008
  • WPF MIA: BackColor, Background, Colors and Brushes

    One of the things that first caught me out in WPF was the simple topic of colors. For example, let's say you want to reset the BackColor of a Form in Windows Forms. Easy enough. This will do the job: Code Copy Me .BackColor = Color.CadetBlue When...
    Posted to xtab by Admin on 10-23-2008
  • WPF: How To Hide the Minimize and Maximize Buttons

    For some time now, I've been promising myself that one day I will create a list of what I like to think of as "WPF MIA" - those basic elements that I am totally familiar with in WindowsForms, but which somehow seem to have disappeared into...
    Posted to xtab by Admin on 10-22-2008
  • Printing a Windows Foundation Presentation FlowDocument

    I have just discovered the most compelling reason to port over any projects I have to Windows Presentation Foundataion (WPF) as well as only starting new projects as a WPF project. The reason you ask? Well the answer is one word. Printing Being a File...
    Posted to canoz by Admin on 10-18-2008
  • Tables in a Windows Presentation Foundation FlowDocument

    vbCity Leader (and Microsoft MVP) Ged Mead showed how to create a FlowDocument in his article published on devCity.com. I got the challenge recently to display a data inserted in a table in a flowdocument. So I embarked on my quest. I knew that what I...
    Posted to canoz by Admin on 10-08-2008
  • Windows Presentation Foundation ToolTip

    Once again it seems that I had what I thought was a great idea only to find out that someone else had it before I did. I don’t even know how I got to thinking about ToolTips and how boring they look, but I did and that got me to wondering what could...
    Posted to canoz by Admin on 10-07-2008
  • Object Initializers - A New Perspective

    There's something that's always bothered me a little bit about creating classes. We go to the trouble of creating backing Private fields and Public properties in order to implement data hiding - right? And when we want to include data validation...
    Posted to xtab by Admin on 08-28-2008
  • Automatically resize a Windows Presentation Foundation Form.

    Once again it seems that a post from vbCity is to be fodder for a post here. Although not part of the original query by vbcity member quicksun, the question of getting a Windows Presentation Foundation (WPF) Form to be resized as the expander control...
    Posted to canoz by Admin on 08-17-2008
  • Reaching the code behind with Windows Presentation Foundation

    I mentioned in an earlier post that for a control in a Windows Presentation Foundation (WPF) application that you had to give each control that you wanted to write code behind for a name in the XAML of the form. Strictly this is not true. If you want...
    Posted to canoz by Admin on 07-16-2008
  • Setting background colours with Windows Presentation Foundation

    I don't think I will ever get over just how much easier it is to do some things in a Windows Presentation Foundation (WPF) application than it is in a Windows application. I was messing around with changing the background colour of a button to see...
    Posted to canoz by Admin on 07-16-2008
  • WPF FlowDocuments and Using WPF Controls in Windows Forms

    I get a reassuringly high number of hits on my WPF blog items, so I guess they're proving useful to a few people out there. So it just occurred to me that I should maybe include a link here in my blog to a couple of WPF articles that I've written...
    Posted to xtab by Admin on 07-15-2008
  • Project for all VB TabControl content

    I have uploaded the project showing how to do all the Tab content which I posted in this post . The project can be downloaded from here .
    Posted to canoz by Admin on 07-11-2008
Copyright 1998-2009 vbCity.com LLC