我有一個畫布和邊框。現在我想把重點放在這個邊界上。
有人可以告訴我這是怎麼做的?重點放在畫布上的邊框
7
A
回答
-2
我還沒有嘗試過爲Border
S,但與WPF ContentControl
,我覺得我必須設置IsTabStop
和IsEnabled
到true
讓它能夠接受焦點。
2
首先,確保你有Border.Focusable = True。之後,只需調用Border.Focus(),你應該很好。
+1
不確定你爲什麼被低估。這對我來說非常合適。 – samuelesque 2014-03-07 19:56:05
相關問題
- 1. 放大在畫布在某一點上
- 2. 在HTML畫布上縮放點
- 3. 在畫布上放置畫布
- 4. 帆布的孩子和畫布的邊框重疊
- 5. AppleTV重點圖像邊框不縮放
- 6. 刪除HTML畫布邊框
- 7. HTML-將滑塊放在畫布旁邊
- 8. 如何在畫布上或佈局上放置重疊圖像
- 9. 將一個點拖放到畫布上
- 10. GWT - 在畫布周圍放置黑色邊框ac
- 11. 在JPanel上放置邊框
- 12. jquery重置邊框動畫
- 13. 無法在畫面上放置畫布
- 14. 如何獲取滾動查看器上放置的畫布的可見邊框
- 15. 畫布縮放到點(0,0)
- 16. 圍繞點放置邊框
- 17. 畫布中邊框的尺寸
- 18. 畫布周圍不需要的邊框
- 19. 畫布討厭的邊框渲染
- 20. 如何添加畫布的邊框
- 21. 模糊畫布形狀的邊框
- 22. 如何在android的佈局邊框上放置textview?
- 23. 在Android畫布上設置動畫點
- 24. 在HTML畫布上旋轉多邊形
- 25. 在JavaScript畫布上向文本添加邊框
- 26. 在畫布上繪製另一個邊框
- 27. 如何在畫布上添加邊框wp7
- 28. 將畫布放在列表框中
- 29. HTML5:用於拖放在畫布上的框架/庫
- 30. 將文本框放在它下面的畫布上
'IstabStop'在Control中定義,而Border不是從Control派生的。 – 2010-04-18 22:53:13