Hi @BitSmithy ,
Welcome to Microsoft Q&A!
I think GetDepenedencyPropertyFromPropertyName
is not a feasible method to find the correct DependencyProperty based on string, because it also needs to confirm the type of the control.
But even so, I still didn't find a suitable API to get the DependencyProperty in UWP. It is recommended that you use your original code tbx.SetValue(TextBox.TextProperty, "ssss")
;
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.