标签:
方式一:
var rte = sender as RichTextEdit; control = rte.Controls[0] as RichEditControl;
方式二:
PropertyInfo myPropertyInfo1 = rte.GetType().GetProperty("InnerControl", BindingFlags.NonPublic | BindingFlags.Instance); control = myPropertyInfo1.GetValue(gridView1.ActiveEditor as RichTextEdit, null) as RichEditControl;
DevExpress中获取RichTextEdit中RichEditControl的两种方式
标签:
原文地址:http://www.cnblogs.com/haorui/p/4208233.html