Skip to content

DevExpress-Examples/winforms-grid-image-slider-cell-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinForms Data Grid - Use an image slider to edit cell values

This example demonstrates how to create a custom image slider and use it within the Grid control to edit cell values. The MyImageSlider class implements IAnyControlEdit and inherits base functionality from the ImageSlider class.

public Form1() {
    InitializeComponent();
    gridControl1.DataSource = GetData(5);
    ImageSliderHelper.BindImageSlider(gridControl1, "Image", imageCollection1);
}

WinForms Data Grid - Use ImageSlider as a cell editor

This technique can also be applied to the WinForms TreeList control.

Files to Review

Documentation