I have a button which created at runtime
Button myBtn = new Button();
Initialize(myBtn);
myBtn.Click += myBtn_Click();
myBtn.Text="Add or Edit Text";//default text string
when user click
myBtn
, it will highlight existing text and it is editable and user can type any new text
.
How can i make button control
editable during click event
?
After user clicking and typing any string, the result will be myBtn.Text = "Any Text"
Example: myBtn.Text="Add or Edit Text";
//before clicking
myBtn.Text="any text or string that user type it";
//after clicking