Click here to Skip to main content
15,897,128 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am developing small application which has Segmented control (YES and NO ). when i click on YES button, it has to show the labels in the view, when i click on NO button, it has to show the textfield in the views. same views,but hide the labels when i click NO button, hide the text when i click YES button. Can you please help me out?
Posted

1 solution

Make collection for text and labels in different arrays, and then hide all object in particular array based on segmentation control index.
 
Share this answer
 

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