Skip to content

Instantly share code, notes, and snippets.

@Ganeshcse
Created February 23, 2017 14:52
Show Gist options
  • Save Ganeshcse/d91b24fbb314721e0eaf79f4546ff923 to your computer and use it in GitHub Desktop.
Save Ganeshcse/d91b24fbb314721e0eaf79f4546ff923 to your computer and use it in GitHub Desktop.
/// <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