or
private
void
Event_SelectionChanged(
object
sender, EventArgs e)
{
GridViewCellInfo[] cells = (from GridViewCellInfo entry
in
this
.SelectedCells where entry.ColumnInfo.Index <
CurveContentGridView.FIRST_DATACOLUMN_INDEX ||
entry.RowInfo.Index == -1
select entry).ToArray();
for
(
int
i = 0; i < cells.Length; i++)
{
cells[i].IsSelected =
false
;
}
}
1) I have a routine that changes a regular GridViewTextBoxColumn to a GridViewCheckBoxColumn. Because in the previous grid, you couldn't just change the type of the column, I had to record the column index, remove it, create a new GVCBC and set the index of it. The index property is no longer settable.
2) I have a method that lets me programatically set the selected row. I used to say SelectedRows.Clear() and then Rows[x].Selected = true; Now the Clear() method is missing from the SelectedRows collection.
Thanks in advance,
Lars Solberg
var label =
new
RadLabel();
label.Text =
"some test"
;
label.TextAlignment = ContentAlignment.MiddleRight;
waitingBar.EnableTheming =
true
;
waitingBar.RootElement.ElementTree.ThemeName =
"Breeze"
;
waitingBar.WaitingBarElement.Value = 0;
waitingBar.Controls.Add(label);