문제

I have a wpf application with a ribbon. I want to change Textboxes from another page displayed inside a frame under my ribbon. And I want to do it from a RibbonButton. Is it possible?

도움이 되었습니까?

해결책

 ((Page1)frame1.Content).TextBox1.Text = "Hello, World";

But it's best to use a class, and binding the textbox.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top