المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : WPF.... GRID.... !! am lost



C# Programming
06-23-2009, 02:51 PM
well herez the scenario... i have a grid in wpf,n a add new row button, which generates a new row with a few controls like textbox,check box few buttons ,,,,,, am suppposed to add a "up"button and a "down" button.....which moves the row up or down by one level... n obviously the first up n last down button are disabled.... i have done upto this point, am even eble to retrieve the row number of the button i click... but after dat im lost... how do i swap a whole row??? please help... and thank you.... in advance!!! im having troubles with the indexing... im new to wpf....

have a great day