internal List<IGroupable> GetGroupMembers( ICanvasModel model, IGroupable item ) { var list = model.GetItems<IGroupable>(); var rootItem = GetRoot( list, item ); return GetGroupMembers( list, rootItem ); }
internal IGroupable GetGroupRoot( ICanvasModel model, IGroupable item ) { var list = model.GetItems<IGroupable>(); return GetRoot( list, item ); }
internal void SelectAll( ICanvasModel model ) { ClearSelection(); myCurrentSelection.AddRange( model.GetItems<ISelectable>() ); myCurrentSelection.ForEach( item => item.IsSelected = true ); OnSelectionChanged(); }