我有一個右向左佈局應用於我的表單。並且有一個表單,它有一個背景圖像,並且當RightToLeft爲true時不會顯示。有什麼問題 ?謝謝Windows Forms,Right to Left Layout BG Image not showing
0
A
回答
4
在MSDN上檢查備註部分here。
對於Form.RightToLeftLayout
物業:
的BackgroundImage,不透明度,TransparencyKey和繪畫活動,不支持。
解決方法(設置RightToLeftlayout = true
後添加一個小組,並設置其背景圖像):不支持
this.RightToLeftLayout = true;
Panel pnl = new Panel();
pnl.Dock = DockStyle.Fill;
pnl.BackgroundImage = System.Drawing.Image.FromFile("D:\\background.png");
pnl.BackgroundImageLayout = ImageLayout.Stretch;
this.Controls.Add(pnl);
pnl.SendToBack();
相關問題
- 1. image to the right right and bottomm left
- 2. CSS background-image not showing
- 3. CSS background-image not showing
- 4. UISegmentedControl divider image not showing up
- 5. WCF Restful service - image not showing
- 6. CSS flex div image to the right
- 7. class item not showing up
- 8. Recycler View Not Showing
- 9. react-native add fragment to view is not showing
- 10. TImage Not Showing up
- 11. Rails:Frameset not showing
- 12. Sencha emptyText not showing
- 13. footer with position:fixed not respnding to margin-right
- 14. Integer not right right
- 15. img not showing
- 16. Android ViewPager not Showing
- 17. BG Image Resizing
- 18. jquery append not showing div
- 19. inputaccessoryview not showing(StoryBoard)
- 20. Laravel @ section does not showing
- 21. CCSprite not showing背景圖片
- 22. extjs gridpanel not showing scrollbars
- 23. Radibuttons not showing up
- 24. PyQt5 PushButton not showing
- 25. ControlTemplate not showing Grid
- 26. TabNavigator not showing children
- 27. iPad UIActionSheet not showing
- 28. MapView not Showing annotation
- 29. Facebook og:image not showing
- 30. Addsubview not showing uiimageview
與從右到左佈局的背景圖像。 – Hassan
那麼哈桑的替代方式是什麼? –
動態添加面板並設置其背景圖像。 – Hassan