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
谢谢!