diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-06-14 19:23:02 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-06-14 19:23:02 +0300 |
| commit | 5224c29724a65ba10901053b23840d299826a6a8 (patch) | |
| tree | dcdc2ff1a6384c7d816b1ab9055bf7c7d948e039 /Software/Visual_Studio/Tango.SharedUI/Controls | |
| parent | 61a68af94273563e1179b49062ac96b8a627a72a (diff) | |
| download | Tango-5224c29724a65ba10901053b23840d299826a6a8.tar.gz Tango-5224c29724a65ba10901053b23840d299826a6a8.zip | |
Working on PPC navigation history!
Diffstat (limited to 'Software/Visual_Studio/Tango.SharedUI/Controls')
| -rw-r--r-- | Software/Visual_Studio/Tango.SharedUI/Controls/NavigationControl.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.SharedUI/Controls/NavigationControl.cs b/Software/Visual_Studio/Tango.SharedUI/Controls/NavigationControl.cs index 25d9a14d4..aae75532c 100644 --- a/Software/Visual_Studio/Tango.SharedUI/Controls/NavigationControl.cs +++ b/Software/Visual_Studio/Tango.SharedUI/Controls/NavigationControl.cs @@ -488,6 +488,11 @@ namespace Tango.SharedUI.Controls return element; } + public FrameworkElement GetElement(String navigationName) + { + return Elements.SingleOrDefault(x => GetNavigationName(x) == navigationName || x.GetType().Name == navigationName); + } + public FrameworkElement GetAndDetach(String navigationName) { var element = Elements.SingleOrDefault(x => GetNavigationName(x) == navigationName); |
