c# - 当从右到左为真时背景图像不显示

标签 c# winforms background-image

在Windows窗体中时

RightToLeft=yes

RightToLeftLayout=true

我不能

为我的表单设置任何背景图片!

最佳答案

来自MSDN entry for the Form.RightToLeftLayout property :

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.

关于c# - 当从右到左为真时背景图像不显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10764300/

相关文章:

c# - ViewResult.StatusCode 为空,尽管已明确设置

c# - 检测 Winforms 中的空闲用户

css - bootstrap 4 轮播图像未出现(包含覆盖)

html - 渐变边框不填充页眉和页 footer 分

android - 通过 URL 更改 Framelayout 的背景图像

c# - 如何使用后期绑定(bind)访问 Microsoft Word 现有实例

c# - 文件校验和在 HTTPS 站点中有用吗?

c# - 如何使用 AsyncFileUpload 上传文件并将字节保存在数据库中?

c# - 当用户点击别处时隐藏表单

c# - 有没有一种简单的方法来确定用户标题栏中使用的字体?