Created
February 23, 2017 14:52
-
-
Save Ganeshcse/d91b24fbb314721e0eaf79f4546ff923 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// | |
/// </summary> | |
public class VMCopyToMenu | |
{ | |
public string MainMenuItemName { get; set; } | |
public ObservableCollection<VMCopyToMenuItem> MenuItems { get; set; } | |
public IList Children | |
{ | |
get | |
{ | |
return new CompositeCollection() | |
{ | |
new CollectionContainer() { Collection = MenuItems } | |
}; | |
} | |
} | |
} | |
/// <summary> | |
/// | |
/// </summary> | |
public class VMCopyToMenuItem | |
{ | |
public string MenuItemName { get; set; } | |
public bool IsSelected { get; set; } | |
public bool IsExpanded { get; set; } | |
public string IconPath { get; set; } | |
public string SelectedIconPath { get; set; } | |
public ObservableCollection<VMCopyToMenuItem> SubMenuItems { get; set; } | |
//public IList Children | |
//{ | |
// get | |
// { | |
// return new CompositeCollection() | |
// { | |
// new CollectionContainer() { Collection = SubMenuItems } | |
// }; | |
// } | |
//} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment