开发者

FlowDocument replace Section?

开发者 https://www.devze.com 2023-01-17 21:10 出处:网络
I have a FlowDocument with two Sections. One is named \'Inhalt\'. Trying to replace it with another Section d开发者_如何学编程oesn\'t seem to work:

I have a FlowDocument with two Sections. One is named 'Inhalt'.

Trying to replace it with another Section d开发者_如何学编程oesn't seem to work:

        InfoBoxAuditorium.Inhalt = InfoBoxAuditorium.Resources["DokumentWohnzimmer"] as Section;

What am I doing wrong?


Just for the records. I solved this by surrounding the FlowDocument with another Grid. The first row contains the stuff I don't want to be replaced. Easy but it does its job.

0

精彩评论

暂无评论...
验证码 换一张
取 消