src/FingersDance.Control.Screen/UserControlScreen.xaml.cs
changeset 82 c37122b567fa
parent 80 605e2e2e053f
child 95 07972aa3f2e0
--- a/src/FingersDance.Control.Screen/UserControlScreen.xaml.cs	Wed Sep 23 09:59:30 2009 +0200
+++ b/src/FingersDance.Control.Screen/UserControlScreen.xaml.cs	Wed Sep 23 11:10:02 2009 +0200
@@ -12,6 +12,7 @@
 {
 	public partial class UserControlScreen
 	{
+        public String contexteGrid;
 		public UserControlScreen()
 		{
 			this.InitializeComponent();
@@ -19,6 +20,16 @@
 			// Insert code required on object creation below this point.
 		}
 
+        //Rajout un UIElement vers la grid du screen.
+        public void AddToGrid(UIElement uie)
+        {
+            if (uie != null)
+            {
+                try { LayoutRoot.Children.Add(uie); }
+                catch(Exception){}
+            }          
+        }
+
        
 	}
 }
\ No newline at end of file