Hi,
This may look like funny. But seriously I was unable to type any text inside my WPF textbox. I am using windows form project and WPF project in a single solution. In this I add textbox to any pages at WPF project, textbox is not able to type a text. If I do with separate solution that only have WPF project then I was able to type a text inside the textbox. In the solution I have both windows application and WPF application, even I create a new page in WPF and put textbox, I was unable to type anything inside that textbox. Can any one help me. Please.
The coding of both.
I removed the
"<"
this on "Windows and Grid" tag because if it put that then those codes are not showing.
This is code working:
Window x:Class="WpfApplication1.Window2"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window2" Height="300" Width="300">
Grid>
<textbox horizontalalignment="Left" height="23" margin="81,113,0,0" textwrapping="Wrap" text="TextBox" verticalalignment="Top" width="120" />
/Grid>
/Window>
And this is code that not working:
Window x:Class="Reports.Wait_Screen"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="300" Width="300" WindowStyle="None" IsTabStop="False">
Grid>
<Label Content="Please Wait" HorizontalAlignment="Left" Margin="108,112,0,0" VerticalAlignment="Top" Width="83"/>
<textbox horizontalalignment="Left" height="23" margin="35,217,0,0" textwrapping="Wrap" text="TextBox" verticalalignment="Top" width="120" />
/Grid
/Window>