| 1 | |
| 2 | using System; |
| 3 | using System.Collections.Generic; |
| 4 | using System.Text; |
| 5 | using UI.Base.Color; |
| 6 | using UI.Controls.Base; |
| 7 | |
| 8 | namespace UI.Controls.Navigation.Models |
| 9 | { |
| 10 | public class NavigationItemModel |
| 11 | { |
| 12 | public int ID { get; set; } |
| 13 | public string Title { get; set; } |
| 14 | ///<summary> |
| 15 | /// |
| 16 | ///</summary> |
| 17 | public IconTypes UnSelectedIcon { get; set; } |
| 18 | |
| 19 | private IconTypes SelectedIcon_ = IconTypes.None; |
| 20 | ///<summary> |
| 21 | /// |
| 22 | ///</summary> |
| 23 | public IconTypes SelectedIcon |
| 24 | { |
| 25 | get |
| 26 | { |
| 27 | |
| 28 | if (SelectedIcon_ == IconTypes.None) |
| 29 | { |
| 30 | return UnSelectedIcon; |
| 31 | } |
| 32 | else |
| 33 | { |
| 34 | return SelectedIcon_; |
| 35 | } |
| 36 | } |
| 37 | set |
| 38 | { |
| 39 | SelectedIcon_ = value; |
| 40 | } |
| 41 | } |
| 42 | public ColorTypes IconColor { get; set; } |
| 43 | public string BadgeText { get; set; } |
| 44 | public string Uri { get; set; } |
| 45 | |
| 46 | } |
| 47 | } |