Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想构造一个TextBlock由多个Run元素组成的元素,它们的内容绑定到string变量,但 Visual Studio 抱怨说只能绑定到依赖属性,但事实Run.Text并非如此。
TextBlock
Run
string
Run.Text
有什么可以做的吗?
查看BindableRun类 - 这可能应该做你想要的。