Пример #1
0
 private void RemoveInsertionAdorner()
 {
     if (this.insertionAdorner == null)
     return;
       this.insertionAdorner.Detach();
       this.insertionAdorner = (InsertionAdorner) null;
 }
Пример #2
0
 private void CreateInsertionAdorner()
 {
     if (this.targetItemContainer == null)
     return;
       this.insertionAdorner = new InsertionAdorner(this.hasVerticalOrientation, this.isInFirstHalf, (UIElement) this.targetItemContainer, AdornerLayer.GetAdornerLayer((Visual) this.targetItemContainer));
 }