从右到左为真时不显示背景图像 [英] Background Image Doesnt Show When Right To Left Is True
本文介绍了从右到左为真时不显示背景图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Windows窗体中
In Windows Form When
RightToLeft=yes
和
RightToLeftLayout=true
我不能
为我的表单设置任何背景图片!
set any background image for my form!
推荐答案
From the MSDN entry for the Form.RightToLeftLayout
property:
当RightToLeftLayout
设置为是"时,不支持所有者绘图.所有者绘制事件仍然会发生,但是您在这些事件中编写的任何代码的行为都没有定义.此外,不支持
BackgroundImage
,Opacity
,TransparencyKey
和绘画事件.
Owner draw is not supported when
RightToLeftLayout
is set to Yes. The owner draw events will still occur, but the behavior of any code you author in these events is not defined. Additionally,BackgroundImage
,Opacity
,TransparencyKey
, and the painting events are not supported.
这篇关于从右到左为真时不显示背景图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文