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

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Handling constructor related functions while testing with mocha and sinon -