【发布时间】:2010-05-28 10:52:45
【问题描述】:
我有一个子 Window ,我从后面的代码中显示它,如下所示:
ChildPhotoViewer PhotoViewer = new ChildPhotoViewer();
PhotoViewer.DataContext = selectedPhoto;
PhotoViewer.Title = selectedPhoto.strTitle.ToString();
PhotoViewer.Show();
但是在显示子窗口时,我得到了关闭按钮和窗口周围的边框厚度。
我可以隐藏关闭按钮,但有没有办法隐藏子窗口的粗细(边框)。
编辑:
![替代文字][1]
在Image中,Colpasing关闭按钮并制作后有边框环绕图像
PhotoViewer.Title = null;
PhotoViewer.HasCloseButton = false;
我想去掉那个矩形边框。
【问题讨论】:
标签: wpf silverlight silverlight-3.0 childwindow