Esempio n. 1
0
 private void BringToFront(Visual child)
 {
     SetVisualChildIndex(child, VisualChildren.Count() - 1);
 }
Esempio n. 2
0
 protected override void OnTemplateChildChanged()
 {
     SetVisualChildIndex(AdornerLayer, VisualChildren.Count() - 2);
     SetVisualChildIndex(PopupLayer, VisualChildren.Count() - 1);
 }
 protected override void OnTemplateChildChanged()
 {
     // move AdornerLayer to the top
     SetVisualChildIndex(AdornerLayer, VisualChildren.Count() - 1);
 }