What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 6746 |  Welcome, Guest!   Register  Login
 Home > Forums > WPF > Length of a text in Content control ...
Sankarann

Length of a text in Content control

Replies: 1 | Posted by: Sankarann on 1/30/2012 | Category: WPF Forums | Views: 483 | Status: [Member] | Points: 10  


Hi All,

How to get the length of textbox in content control?

I need to get the length of text which is present in a Datatemplate.

i have two text boxes in a DataTemplate and i want to get the length of both the

text present in that textboxes.

Thanks


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Blessyjees
Blessyjees  
Posted on: 1/31/2012 3:38:49 AM
Level: Bronze | Status: [Member] | Points: 25

Hi,

Normally you will get the length of the content by using "textbox1.Text.Length". Are you try like this. did you get any error. Specify the exact problem.

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Sankarann, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/23/2013 6:01:15 PM