Home > Cannot Be > Cannot Be Converted To System.windows.uielement

Cannot Be Converted To System.windows.uielement

Is "she don't" sometimes considered correct form? I was hoping for something in the lines of: { Textbox tb = (Textbox)uie.GetChild(); tb.Text = "New Title" uie.SetChild(tb); }, but it does not work like that. pager.Controls(iLoop) at line 4 shows"Value of type 'System.Web.UI.Control' cannot be converted to 'System.Windows.Forms.Control'." 2. I am drawing DrawingVisual instances using DrawLine, DrawGeometry and the like. have a peek here

Add a Solution Add your solution here B I U S small BIG code Plain TextC++CSSC#Delphi / PascalF#HTML / XML / ASPJavaJavascriptObjective-CSQLSwiftPerlPHPPythonVBXMLvar < > & link [^] encode untab case indent Is it acceptable to ask an unknown professor for help in a related field during his office hours? Not the answer you're looking for? But if I try to add a Visual in code to the Canvas usingtheCanvas.Children.Add(myVisual)it says: "cannot be converted to 'System.Windows.UIElement'. see here

Does every interesting photograph have a story to tell? An explicit conversion exists (are you missing a cast?) XAML code