Click here to Skip to main content
15,883,883 members
Articles / All Topics

A TileListView for Universal Windows

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
5 Mar 2016CPOL1 min read 5.1K   1  
A TileListView for Universal Windows

I just released a small library for arranging any visual item in a tiled-fashion, very similar to the famous “start screen” of Windows 8/10, but following a fixed-position configuration.

The problem with the ordinary tiled-layout views is about the possible re-arrangement of the tiles, thus a user might see a different result upon the actual viewport size. I needed something “fixed” instead. The user should define the layout by editing the grid via drag-and-drop, then that layout will be fixed for any screen. However, the editor should consider more than a single arrangement, whereas the feasible displays can’t fit the desired layout.

The demo leverages an useful MVVM pattern, and allows to define several kind of blocks: fixed, full-sizable, shrinkable, expandable, on just one or both the directions.

The library is working, but at the moment as a beta (several minor problems and refinements to work on). A reasonable prototype to put your hands on, though.

As described, the project is tailored for the Universal Windows Platform, so only Windows 10 (phones and IoT as well) is supported. You must use Visual Studio 2015 on Windows 10 for development also.

2016-03-05 (1)

Editing mode (drag-and-drop to add/move/remove tiles)

2016-03-05 (2)

Blocks size is modifiable at any time

2016-03-05 (3)

The view mode: as any normal hub page.

Have fun!

Image 4 Image 5

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) CET Electronics
Italy Italy
Played with transistors and ICs before being ten. First approaches to programming (PET Commodore) in the early '80.
Then AppleSoft, TurboPascal, Assembler and VisualBasic.
Currently employed at CET Electronics as lead software developer, involved in creation of industrial control systems.
Loving graphics technologies, I had some great time with SVG.
Since 2006 my primary language is C#, where I am focusing on WPF.

Comments and Discussions

 
-- There are no messages in this forum --