我有一個子窗口,而我從代碼如下顯示它背後:如何隱藏周圍的子窗口邊框
ChildPhotoViewer PhotoViewer = new ChildPhotoViewer();
PhotoViewer.DataContext = selectedPhoto;
PhotoViewer.Title = selectedPhoto.strTitle.ToString();
PhotoViewer.Show();
但同時顯示的子窗口我正在關閉和窗口周圍的邊框厚度。
我可以隱藏關閉按鈕,但有沒有辦法隱藏子窗口的厚度(邊框)。
編輯:
[替代文本] [1]
在圖像中,有Collpasing關閉按鈕,使後邊框角落找尋圖像
PhotoViewer.Title = null;
PhotoViewer.HasCloseButton = false;
我想擺脫那矩形邊界。
是的,現在嘗試,不工作 – Simsons 2010-05-28 12:22:07
@Subhen:你是否指向子窗口上方的標題塊? – AnthonyWJones 2010-05-28 12:50:50