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

Use an image slider to edit grid values.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Use an image slider to edit grid values.

License:Other


Languages

Language:Visual Basic .NET 50.3%Language:C# 49.7%