1
我正在從Siverlight中的面板派生布局控制。我希望能夠在面板中設置Tab鍵行爲。我需要的是像Control類的TabNavigation屬性。例如,如果我設置:控制面板內的TabNavigation
myCustomPanel.TabNavigation = KeyboardNavigationMode.Cycle
黏合只能通過myCustomPanel的子元素移動焦點。有沒有辦法做到這一點?
我正在從Siverlight中的面板派生布局控制。我希望能夠在面板中設置Tab鍵行爲。我需要的是像Control類的TabNavigation屬性。例如,如果我設置:控制面板內的TabNavigation
myCustomPanel.TabNavigation = KeyboardNavigationMode.Cycle
黏合只能通過myCustomPanel的子元素移動焦點。有沒有辦法做到這一點?
我知道這是非常晚的答案,但也許對研究人員有幫助。
我有ParentCustomPanel
,此面板包含許多ChildCustomPanel
。 ChildCustomPanel有很多Controls
(TextBox
,CheckBox
等...)。 我的問題是我設置TabNavigation爲ParentCustomPaneland
它在ParentCustomPanel
內工作。 現在我設置TabNavigation
到ParentCustomPanel
它工作。
ParentCustomPanel.TabNavigation = KeyboardNavigationMode.Cycle
謝謝!