Jump to content
Xtreme .Net Talk

WPF Composites (WPF-CPS) for F#


Recommended Posts

Guest Bryan Prendergast
Posted

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?

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...