Click here to Skip to main content
15,890,932 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I cant retrieve text value from text box while using control template please give me a solution

i just used normal textbox1.text to retrive text box value in c#.

<ControlTemplate x:Key="txtbox" TargetType="TextBox" >
<Border BorderBrush="White" BorderThickness="1" CornerRadius="3" Height="30" >
<TextBox BorderThickness="0" Background="Transparent" Margin="0,4,0,0" Foreground="White" FontSize="13" />
</Border>
</ControlTemplate>
Posted
Updated 6-Jan-15 7:43am
v3
Comments
CHill60 6-Jan-15 13:43pm    
Please don't repost the same question - consider removing your original post on this subject How Do I Fetch Text Box Value While Using Control Template?[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900