none
WPF Composites (WPF-CPS) for F# RRS feed

  • General discussion

  • FYI . . . I just added a basic 'Hello World' example of using my Fluent WPF API named WPF Composites (WPF-CPS) with F#.

    Just search for WPF Composites on CodePlex and search for the F Sharp Example link on its main home page.

    WPF Composites (WPF-CPS) is a project designed to provide an alternative, concise, C# (or IronPython or F#) code-behind approach to managing UI Framework Element composites. Composites are normally managed via XAML and DataTemplates but this library uses ID's and X-Y Coordinates instead to position elements on the screen.

    It works via 100% code-behind, zero XAML, has CSS-like Selectors, has Generators to generate multiple Framework Elements based on a single Prototype Element's properties (e.g. create a button and automatically clone it 5 times), and supports 26 different WPF controls.

    This library may be especially suited to F# considering its focus on a concise code-behind approach to WPF versus a verbose, possibly inflexible XAML-based approach?  F# also fits well with "fluent API's" in general since it is monad-friendly and a functional programming language?

    Wednesday, July 24, 2013 6:56 AM

All replies

  • hello, since it is about F# I'm interested, can you share a link;

    thanks;

    Tuesday, August 7, 2018 9:00 AM
  • So I went to https://archive.codeplex.com/ and put "WPF Composites" in the search box and it gave me

    • https://archive.codeplex.com/?p=wpfcomposites
    • https://archive.codeplex.com/?p=wpfcompositescontrib


    • Edited by Mr. Tines Thursday, August 30, 2018 3:18 PM Fix copy-paste error
    Thursday, August 30, 2018 3:17 PM
  • thanks, 

    you can put it in msdn code samples, it will be a good resource for F# enthusiasts.

    Thursday, August 30, 2018 5:02 PM