1-) C# Athena - gridcontrole progressbar ekleme
1-) gridcontrole progressbar ekleme
public partial class Form1 : Form {
public Form1() {
InitializeComponent();
DataTable dt = new DataTable();
dt.Columns.Add("yuzde");
gridControl1.DataSource = dt;
satirekle();
}
public void satirekle() {
try {
gridView1.AddNewRow();
int rowHandle = gridView1.GetRowHandle(gridView1.DataRowCount);
if (gridView1.IsNewItemRow(rowHandle)) {
gridView1.SetRowCellValue(rowHandle, gridView1.Columns["yuzde"], 0);
}
} catch (Exception ex) {
throw new Exception(ex.Message);
}
}
private void button1_Click(object sender, EventArgs e) {
for (int i = 0; i < 101; i++) {
gridView1.SetRowCellValue(0, gridView1.Columns["yuzde"], i);
gridControl1.Update();
Thread.Sleep(50);
}
}
}
2-) tüm satırla gözüksün istiyorsan
GridView.OptionsView.AnimationType property to AnimateAllContent.
GridView.CustomRowCellEdit event. For example,
https://www.devexpress.com/Support/Center/Question/Details/Q524163/marquee-progress-bar-only-shows-up-for-active-row-in-datagrid
3-) repositoryItemMarqueeProgressBar1
repositoryItemMarqueeProgressBar1.Stopped = true; // durdurur
repositoryItemMarqueeProgressBar1.Stopped = false; // devam ettirir