Windows在wpf中调整大小问题 [英] Windows resizing problem in wpf

查看:100
本文介绍了Windows在wpf中调整大小问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的全部,



我在wpf应用程序中遇到问题,在这个任务中我有多个图像和幻灯片控制。当我调整窗口大小时,我希望它适合。我的图像大小必须至少为100px。两个图像之间的边距是10px。



-当我第一次调整窗口时它工作正常。但是当我更改滑动控制值然后它在面板右侧显示空白时它无法正常工作。



- 我想从右侧移除空间并在正确的空白区域内放置图像。





任何人都有解决方案请告诉我。



谢谢和问候



Rajendra Dogne

解决方案

 Horizo​​ntalAlignment =  拉伸 Margin =   10名称=   listView1 VerticalAlignment =  拉伸宽度=  自动高度=  自动 


DEAR All,

I have problem in wpf application, In this task I have multiple images and slide control. I want it to fit when I resizing windows. My Image size must be minimum 100px. and margin between two images is 10px.

-when I resize windows first time it work fine. but when I change the slide control value then it shows blank space in right side of the panel it is not working properly.

- I want to remove space from right side and fit image in right blank space.


Any one have solution please let me know.

Thanks & regards

Rajendra Dogne

解决方案

HorizontalAlignment="Stretch" Margin="10" Name="listView1" VerticalAlignment="Stretch" Width="Auto" Height="Auto"


这篇关于Windows在wpf中调整大小问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆