gpt4 book ai didi

wpf - 在不同的行上跨越不同数量的列

转载 作者:行者123 更新时间:2023-12-04 19:14:03 24 4
gpt4 key购买 nike

我正在尝试显示如下所示的 UI。

-------------------------------------------------------
- Label Along With Some Awesome Text - Label -
- ------------ ---------
- Picture - All of the rest of my text would -
-------------- -
- start up there and go on down to here and then it -
- would keep going and end up as a ..... -
- -
- -
-------------------------------------------------------

我试过使用网格控件,顶部标签位于 0,0 和 0,1,跨度为 0。

但是对于文本 block ,我想不出一种从第 2 行的第 1 列开始,然后从第 3 行的第 0 列开始的方法,如果这有意义的话?

最佳答案

你在找这样的东西吗?

Flow Document

这是我发现的一个类似问题。

Wrapping text around an image or linking two TextBlocks in C# WPF

关于wpf - 在不同的行上跨越不同数量的列,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27536173/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com