Example #1
0
 private void RemoveInsertionAdorner()
 {
     if (InsertionAdorner == null)
     {
         return;
     }
     InsertionAdorner.Detach();
     InsertionAdorner = null;
 }
Example #2
0
 private void UpdateInsertionAdorner()
 {
     if (InsertionAdorner == null)
     {
         return;
     }
     InsertionAdorner.IsInFirstHalf = IsInFirstHalf;
     InsertionAdorner.InvalidateVisual();
 }
Example #3
0
 private void CreateInsertionAdorner()
 {
     if (TargetItemContainer != null)
     {
         InsertionAdorner = new InsertionAdorner(HasVerticalOrientation,
                                                 IsInFirstHalf,
                                                 TargetItemContainer,
                                                 AdornerLayer.GetAdornerLayer(TargetItemContainer));
     }
 }
Example #4
0
        private void UpdateInsertionAdorner()
        {
            logger.Trace("Entered UpdateInsertionAdorner()");

            if (InsertionAdorner == null)
            {
                return;
            }
            InsertionAdorner.IsInFirstHalf = IsInFirstHalf;
            InsertionAdorner.InvalidateVisual();
        }
Example #5
0
        private void RemoveInsertionAdorner()
        {
            logger.Trace("Entered RemoveInsertionAdorner()");

            if (InsertionAdorner == null)
            {
                return;
            }
            InsertionAdorner.Detach();
            InsertionAdorner = null;
        }