Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
V

Vincent Beek

@Vincent Beek
About
Posts
18
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to confirm email
    V Vincent Beek

    Suddenly in the login section top menu there is a message stating "Your email needs to be confirmed". How to do this? I did not receive any mails and I don't find a way to confirm.

    Site Bugs / Suggestions tutorial question

  • DataGrid won't detect CTRL + C
    V Vincent Beek

    That's what I am trying to tell you. In your current code it is detected. When you press CTRL+C the grid row is being copied. The textbox is just for testing. After the copy you can past your grid row there and see for your self that a CRTL+C copy was made.

    WPF wpf csharp help

  • DataGrid won't detect CTRL + C
    V Vincent Beek

    You are right that you won't get the MessageBox but it is handeling the copy command. Just add a TextBox and perform a paste. So I think the event is set to e.Handled before your event.

    WPF wpf csharp help

  • WPF Datagrid Paging
    V Vincent Beek

    This might help. http://www.telerik.com/products/wpf/datapager.aspx[^]

    WPF csharp asp-net wpf tutorial

  • generating QR code in WPF
    V Vincent Beek

    For example. Open Source QRCode Library[^] http://qrcodenet.codeplex.com/[^] I don't think that working with WPF has big impact on de code of generating QR code. It just some .net class/library that has to be integrated

    WPF question csharp wpf

  • Starter MVVM Framework Recommendation
    V Vincent Beek

    Have you heard about: Catel

    WPF wpf csharp sql-server collaboration

  • Localization in WPF MVVM
    V Vincent Beek

    Where is your SelectedLanguage property declaration? What does it look like?

    WPF wpf csharp wcf architecture help

  • WPF with Entity Framework.
    V Vincent Beek

    Fur sure it will resolve all your questions but maybe this will be helpful. http://tomasp.net/blog/dynamic-linq-queries.aspx/[^]

    WPF database csharp css wpf sales

  • adding/removing ListView columns at runtime (revisited)
    V Vincent Beek

    Some time ago I asked here the question how to code adding/removing columns to a Listview at runtime and 'binding columns to viewmodels' SeldgeHammer came with this solution: 1) The WPF ListView doesn't support data binding on the GridViewColumnCollection out of the box. You can add support for this, not too difficult, but a little bit of work. 2) Once you have a WPF ListView that can support data binding on the GridViewColumnCollection, its just a matter of having your VM return a collection of columns. 3) Some gotcha's you'll run into: a) a GridViewColumn can only be owned by one GridViewColumnCollection at a time, so you can't return a GridViewColumnCollection from your VM, you need to return an ObservableCollection. b) defining a GridViewColumn in code with bindings is a major PITA, so you should devise a way to load them out of a XAML file where you'll again run into "issue a" where you can't share GridViewColumn's. All these issues are overcomeable... basically what I ended up with was a GridViewEx class that supported two-way binding on the column collection. Remember, you are going to need to save column widths and column order . I wanted to share a blog on this topic that I ran into the other day. I quite like the solution provided there. Sharing info never hurts right? :) http://blogs.msdn.com/b/nathannesbit/archive/2009/03/13/developing-reusable-controls-with-the-model-view-viewmodel-pattern.aspx[^]

    WPF wpf question csharp wcf com

  • binding one listview to two observablecollections
    V Vincent Beek

    Is it by any means possible to bind a single listview to two seperate observable collections? So, for example the first column is from collection A and the second column from collection B. If so, how?

    WPF wpf wcf tutorial question

  • RoutedUICommands vs ICommand. When & Why
    V Vincent Beek

    I am not a fan of just grabbing a framework

    either. At least you have to know the concept of what is happening in there. Otherwise when you will run into bug of the framework you will get stuck.
    I am now in the process of making this decision. I know MVVM is the way to go. But I think I will start with my own implementation to see before I get involved in a framework.

    Do you know this framework?
    Catel - Part 0 of n: Why choose Catel?[^]

    It’s a relative newcomer. What do you think of it?

    WPF wpf csharp visual-studio com architecture

  • RoutedUICommands vs ICommand. When & Why
    V Vincent Beek

    better framework, like?

    WPF wpf csharp visual-studio com architecture

  • RoutedUICommands vs ICommand. When & Why
    V Vincent Beek

    Hm, make good sense to me. Thx. :thumbsup:

    WPF wpf csharp visual-studio com architecture

  • RoutedUICommands vs ICommand. When & Why
    V Vincent Beek

    Very well, I agree that MVVM is a good pattern. But when not using RoutedUICommand class you loose the bubbling and tunneling, right? This wil not get me into problems?

    WPF wpf csharp visual-studio com architecture

  • RoutedUICommands vs ICommand. When & Why
    V Vincent Beek

    Hope the title is OK. Didn't know how to put it any better. I am looking here for some background information, opinions if you will. I know how to code them. But I can't get my head around why sometimes things are done one way and sometimes the other. If you read WPF books (mostly) they teach you to implement RoutedUICommands. So in short, to have a static class with commands, commandbindings in XAML and some codebehind. If you read some of the MVVM articles on this site or this article http://msdn.microsoft.com/en-us/magazine/dd419663.aspx[^]. They implement classes with ICommand interface and/or a RelayCommand : ICommand class and put some command handling in the ViewModel So, when and why, pros and cons, of using one or the other. This is what I hope to hear from you.

    WPF wpf csharp visual-studio com architecture

  • Generic framework or pattern for adding colomns to a WPF ListView
    V Vincent Beek

    I had the feeling that BobJanova's answer was not very related, hence the 'investigating....' I didn't even notice we have a special WPF section. Guess I have been posting in the wrong section. Thanks again for all the input!

    C# wpf csharp design regex architecture

  • Generic framework or pattern for adding colomns to a WPF ListView
    V Vincent Beek

    Investigating this.... :cool: Thx.

    C# wpf csharp design regex architecture

  • Generic framework or pattern for adding colomns to a WPF ListView
    V Vincent Beek

    I am looking for a framework or some site with a description of a possible direction of solution to speed up my development. My functional design shows a number of screens with WPF listviews on them. All of the screen have a add/remove column button next to each listview. Now adding A column to a listview at runtime is easy. But with the amount of listviews and even more the amount of possible columns to add (400 or so) hacking in code behind will be the next nightmare, I am not even talking about changes. So I am looking for a clean generic approach. Search the web but no results. Anybody here been in the same situation? And can push me a bit in the right direction? Oh MVVM ofcourse. Thx. Any help is appreciated

    C# wpf csharp design regex architecture
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups