18780422842 发表于 2025-1-6 10:42:09

fileExplorerAssistant关闭遍历子目录?

fileExplorerAssistant控件中的treeList怎么关闭自动遍历子目录呢?还有就是怎么禁用鼠标右键出现的选项菜单?

zj20090606 发表于 2025-3-27 11:07:58

private void gridControl文件资源_MouseUp(object sender, MouseEventArgs e)
      {
            try
            {
                GridHitInfo hitInfo = this.gridView文件资源.CalcHitInfo(e.Location);
                if (!hitInfo.InColumn)
                {
                  DXMouseEventArgs.GetMouseArgs(e).Handled = true;
                }
            }
            catch (Exception ex)
            {
                ShowMessage.Error(ex);
            }
      }
页: [1]
查看完整版本: fileExplorerAssistant关闭遍历子目录?