RandallFlagg

RandallFlagg


  • Name: [not set]
  • Favorite Languages: [not set]
  • Website: [not set]
  • Location: [not set]
  • About Me: [not set]

Recent Comments

  • Using the WPF Toolkit DataGrid
    07/09/2010 - 06:56

    I wanted also to know if there is a reason you used the var keyword insted of DataRow

  • Using the WPF Toolkit DataGrid
    07/09/2010 - 06:55

    As always this is a great tutorial.

    I just wanted to point(and please tell me if I am wrong) that if you will put this line
    _GameData.Rows.Add(row);
    at the end of the row creation it will be better because in your way the event is being fired for every change where as if you put it at the end it will be fired only once

    DataRow row = _GameData.NewRow();
    row["Game Name"] = "World Of Warcraft";
    row["Creator"] = "Blizzard";
    row["Publisher"] = "Blizzard";
    row["On Xbox"] = false;
    _GameData.Rows.Add(row);

  • WPF Tutorial - Using The ListView, Part 1
    07/05/2010 - 15:28

    Just wanted to say that this is indeed a great tutorial.

    I would also wanted to say(at least, that is what my experiments showed after a few hours) that you must init the ObservableCollection in the begining or add in the get a new statment as follows(and please correct me if I am wrong):

    public ObservableCollection<GameData> GameCollection
            {
                get
                {
                    if (_GameCollection == null)
                    {
                        _GameCollection = new ObservableCollection<GameData>();
                    }
                    return _GameCollection ;
                }
            }