原文地址:https://www1.devexpress.com/Support/Center/Question/Details/CQ30369

Actually, the corresponding editor is passed to this event handler via the Sender parameter. So, please cast the Sender parameter to the corresponding type (to the TcxComboBox in this particular case) and then use its Properties.Items property to populate the editor's dropdown list:

procedure TForm1.cxVerticalGrid1EditorRow1EditPropertiesInitPopup(
  Sender: TObject);
var
  I: Integer;
begin
  with TcxComboBox(Sender).Properties do
  begin
    BeginUpdate;
    try
      Items.Clear;
      for I := 0 to 100 do
        Items.Add('Item#' + IntToStr(I));
    finally
      EndUpdate;
    end;
  end;
end;

最新文章

  1. 利用反射与dom4j读取javabean生成对应XML和读取XML得到对应的javabean对象集合
  2. js 的点击事件
  3. ubuntu中jdk已经安装,但是eclipse启动报错
  4. IPD模式下开展敏捷开发的一些问题汇总
  5. Linux安装卸载JDK(1.7 rpm)
  6. InLineHookSSDT
  7. .NET简谈插件系统开发模式
  8. WPF 列表控件中的子控件上下文绑定
  9. 使用weinre通过PC浏览器调试手机网页
  10. Linux学习笔记4——函数调用栈空间的分配与释放
  11. itext poi 学习之旅 (1)创建pdf
  12. 【最大点权独立集】【HDU1565】【方格取数】
  13. rsyslog+LogAnalyzer 日志收集
  14. 万能的Python,还能用来制作高大上的进度条?
  15. Linux基础:CentOS安装python3.7
  16. Xcode常用的文件路径
  17. CMakeLists.txt使用
  18. 洛谷P4336 [SHOI2016]黑暗前的幻想乡 [Matrix-Tree定理,容斥]
  19. cf1110E 思维
  20. host-only

热门文章

  1. 二分类Logistic回归模型
  2. Nginx sticky模块实现session粘滞
  3. Django:(08)序列化器
  4. Java工程师学习指南第3部分:Spring与SpringMVC源码解析
  5. 十步学习法 -- 来自<<软技能>>一书的学习方法论
  6. Java学习笔记-抽象类与接口
  7. storm manual drpc 的远程调用
  8. Spring Boot 创建动态定时任务
  9. HTTP协议之需要了解的网络基础
  10. TypeScript 解构