用背景色吧箭头盖掉
var combo = new C_ComboBoxCellType();
- public class C_ComboBoxCellType : ComboBoxCellType
- {
- public override void PaintCell(Graphics g, Rectangle r, FarPoint.Win.Spread.Appearance appearance, object value, bool isSelected, bool isLocked, float zoomFactor)
- {
- base.PaintCell(g, r, appearance, value, isSelected, isLocked, zoomFactor);
-
- g.FillRectangle(new SolidBrush(appearance.BackColor), r.X + r.Width - 50, r.Y, 50, r.Height);
- }
- }
复制代码 |