Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Grid not updating while swaping element[modified]

Grid not updating while swaping element[modified]

Scheduled Pinned Locked Moved WPF
csscomhelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tripathi Swati
    wrote on last edited by
    #1

    when i am swaping element in grid its refelecting on form but at time of saving when i ll go for reading it will not give me updated one . for swaping i am using Grid.SetRow and Grid.SetColumn function.

    Border borderInnerAttr;
    Grid.SetRow(borderInnerAttr, Grid.GetRow(borderInnerAttr) - 1);
    Grid.SetColumn(borderInnerAttr, Grid.GetColumn(borderInnerAttr));

    here i am able to swap element in grid but at the time reading grid it will return me the original position of elements. Pls help me ....

    Reasons are not Important but Results are Important. http://www.sql4professional.blogspot.com Swati Tripathi

    modified on Thursday, May 27, 2010 8:54 AM

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups