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

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -