protected override void OnDraw(Graphics g, Rectangle clientRectangle, int rowIndex, int colIndex, GridStyleInfo style) { if (this.ShouldDrawFocused(rowIndex, colIndex)) { style.Control = editSlider; } else { style.Control = drawSlider; SliderCellModel.InitializeSlider(drawSlider, style); } base.OnDraw(g, clientRectangle, rowIndex, colIndex, style); }
protected override void InitializeControlText(object controlValue) { SliderCellModel.InitializeSlider(this.editSlider, controlValue); }
protected override void OnInitialize(int rowIndex, int colIndex) { SliderCellModel.InitializeSlider(editSlider, Grid.GetViewStyleInfo(rowIndex, colIndex)); }