View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000811||NoesisGUI||C# SDK||public||2016-01-30 13:42||2023-08-30 20:13|
|Target Version||3.2.2||Fixed in Version||3.2.2|
|Summary||0000811: Difference with WPF - FocusManager is absent|
The FocusManager is absent.
Currently I need access FocusManager.FocusedElement and it seems I need to find a workaround for it.
Would be nice if you implement FocusManager as it's done in WPF.
|Tags||No tags attached.|
FocusManager is not currently implemented in NoesisGUI but you can obtain the focused element asking the Keyboard object:
UIElement anyTreeElement = ...; UIElement focusedElement = anyTreeElement.GetKeyboard().GetFocused();
Will you need logical focus, apart from keyboard focus, to be implemented?
Thanks, I didn't know how to get the instance of Keyboard class. It works very well now.
I don't think we need logical focus (FocusManager) on C# side yet. Currently we need it only on Noesis.dll side - it should behave in the same way as in WPF:
"The idea is that WPF keeps track of one or more groups of controls, each of which makes up a focus scope. Within each focus scope, a single control can have logical focus. This allows WPF to remember the control that last had focus in a group of controls and give the keyboard focus back to the proper control when a group of controls becomes active again." (from http://wpf.2000things.com/2011/05/27/309-keyboard-focus-vs-logical-focus/ )
It seems to be not a problem anymore.
Please close this ticket.
I will leave it, as it is an unimplemented feature. If more people asks for this we might work on this.
|Fixed in changeset 12682|
|2016-01-30 13:42||ai_enabled||New Issue|
|2016-02-01 04:49||sfernandez||Note Added: 0003496|
|2016-02-01 04:49||sfernandez||Assigned To||=> sfernandez|
|2016-02-01 04:49||sfernandez||Status||new => feedback|
|2016-02-01 04:49||sfernandez||Note Edited: 0003496|
|2016-02-05 11:58||ai_enabled||Note Added: 0003521|
|2016-02-05 11:58||ai_enabled||Status||feedback => assigned|
|2016-02-05 11:58||ai_enabled||Note Edited: 0003521|
|2016-02-05 11:59||ai_enabled||Note Edited: 0003521|
|2018-11-01 02:14||jsantos||View Status||public => private|
|2018-11-23 01:34||sfernandez||View Status||private => public|
|2018-11-23 01:34||sfernandez||Platform||=> Any|
|2018-12-21 17:21||ai_enabled||Note Added: 0005372|
|2018-12-24 10:41||sfernandez||Note Added: 0005377|
|2018-12-24 10:41||sfernandez||Note Edited: 0005377|
|2021-04-27 20:29||sfernandez||Relationship added||has duplicate 0001982|
|2021-06-10 01:55||sfernandez||Target Version||=> 3.1|
|2023-08-30 20:13||sfernandez||Status||assigned => resolved|
|2023-08-30 20:13||sfernandez||Resolution||open => fixed|
|2023-08-30 20:13||sfernandez||Fixed in Version||=> 3.2.2|
|2023-08-30 20:13||sfernandez||Target Version||3.1 => 3.2.2|
|2023-08-30 20:13||sfernandez||Note Added: 0008686|