Ejemplo n.º 1
0
 /// <summary>
 /// 删除所有元素
 /// </summary>
 private void SelectedElementRemoveAll()
 {
     if (SelectedElements == null || SelectedElements.Count == 0)
     {
         return;
     }
     for (int i = SelectedElements.Count - 1; i >= 0; i--)
     {
         ((IControlBase)SelectedElements[i]).SetUnFocus();
         SelectedElements.RemoveAt(i);
     }
 }