如何在擴展器的內容中擴展更大的區域?

[英]How to expand a larger area in the content of an expander?


I tried several times without finding how to expand a larger content in an expander without modifying the size of the header.

我嘗試了好幾次,但都沒有找到如何在擴展器中展開更大的內容,也沒有修改標題的大小。

My collapsed expander with its linear gradient: Collpased expander

我的線性梯度折疊擴張器:

What I get What I do NOT want

我得到什么

or when I increase the size of my content What I do NOT want

或者當我增加內容的大小

What I want What I WANT

我想要的

OR

What I WANT

I am working under Blend 4. Is it possible to do that ? Do you have a trick ? Can I keep the linear gradient ?

我在Blend 4下工作。有可能嗎?你有什么訣竅嗎?我能保持線性梯度嗎?

Thank you for your help !

謝謝你的幫助!

1 个解决方案

#1


0  

I was not able to find a solution of my problem...

我找不到解決我問題的辦法。

To get around the problem, I used a uniform background color instead of the gradient and add a margin of -200 on the ExpandSite of my Expander.

為了解決這個問題,我使用了統一的背景色而不是漸變,並在擴展器的擴展位置上添加了-200的空白。

I will still be very happy to give some points by approving the real solution ;)

我仍然會很樂意給出一些觀點,通過批准真正的解決方案;


注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:https://www.itdaan.com/blog/2014/03/13/2c87f4b731c4269527c5206daad267b9.html



 
粤ICP备14056181号  © 2014-2021 ITdaan.com