While Textbox visibility Collapsed textchange event not working

Manu Michael Samuel 131 Reputation points
2021-01-07T11:35:37.957+00:00

Hi all,
Am trying to trigger a change event by binding a data into the textbox from viewmodel. And I want to add a point(button is used as a pointer of selection with selected X, Y points). So I placed a textbox and made its visibility to Collapsed and when I make change the data in the textbox none triggered. While I try triggering the textbox with visible visibility textchange event working smoothly.

Developer technologies Universal Windows Platform (UWP)
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,866 Reputation points
    2021-01-07T12:31:39.93+00:00

    Hello @Manu Michael Samuel , Welcome to Microsoft Q&A,

    While Textbox visibility Collapsed textchange event not working

    It's by-design that textchange event not working when set the TextBox Visibility collapsed. If you set as collapsed, the element will not display the element, and do not reserve space for it in layout. TextChanging will be not triggered.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.