WPF Grid containing rows and columns can be dragged vertically or horizontally -


i need display rectangular grid of items can rearranged both vertically , horizontally i.e. rows can moved , down, , columns can dragged left right. each cell host edit control of sort e.g. richedit box. i'd table (like in microsoft word) , not 3d control. ideally, i'd able insert rows , columns @ runtime.

i'm trying think of way can achieve this. far i've thought of:

  1. using styled listbox of items, each item containing grid of "cells", separated gridsplitters, , somehow synchronizing vertical gridsplitters. approach, rearranging rows straightforward, dragging columns difficult.

  2. using styled listview of sort.

  3. creating custom grid , override onrender method display gridlines. displays well, i'm not sure how rearrange rows columns.

any thought on how best achieve this?


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -