public void HighlightSlot(Point pointInEffectSheet) { ClearAllHighlights(); EffectSlotViewModel slot = EffectSlotList.GetItemAtPoint <EffectSlotViewModel>(pointInEffectSheet); if (slot != null) { EffectSlotList.SelectedItem = slot; } }
public EffectSlotViewModel GetEffectSlotAtPoint(Point point) { EffectSlotViewModel slot = EffectSlotList.GetItemAtPoint <EffectSlotViewModel>(point); if (slot != null) { return(slot); } return(null); }
public Rect?GetBoundingRectForItem(EffectSlotViewModel item) { return(EffectSlotList.GetBoundingRectForItem(item)); }