A
Andrew
Hello, friends,
I tried to select all the items using (c#.net):
private void ButtonSelectAll_Click(object sender, EventArgs e)
{
for (int i = 0; i < this.ListViewPageNumber.Items.Count; i++)
{
this.ListViewPageNumber.Items.Selected = true;
}
}
where the property HideSelection was set to false at design time.
However, I could NOT see the items being selected (normally in blue color).
although I had no problem to select multiple items using mouse or keyboard.
This control is really weired.
Any ideas? Thanks.
I tried to select all the items using (c#.net):
private void ButtonSelectAll_Click(object sender, EventArgs e)
{
for (int i = 0; i < this.ListViewPageNumber.Items.Count; i++)
{
this.ListViewPageNumber.Items.Selected = true;
}
}
where the property HideSelection was set to false at design time.
However, I could NOT see the items being selected (normally in blue color).
although I had no problem to select multiple items using mouse or keyboard.
This control is really weired.
Any ideas? Thanks.