private
void InitBackgroundCombo()
{
// this returns all the color in the Color struct
Color[] systemColors = GetAllColors();
for (int i = 0; i < systemColors.Length; i++)
{
RadComboBoxItem item = new RadComboBoxItem();
item.ForeColor = systemColors[i];
item.Text = systemColors[i].Name;
item.BackColor = systemColors[i];
cbxBackground.Items.Add(item);
}
}
I'm workin with RadControls for WinForms. I have two questions about GridView.
First - how to turn off default ContextMenuStrip which appears after I click r-mouse button and hold it?
Second - I don't know if it's an error but after migration from Q2 filter text box (most right) is in front of the scrollbar (previously it wasn't)
radWaitingBar1 = new Telerik.WinControls.UI.RadWaitingBar();
radWaitingBar1.Location = new System.Drawing.Point(110, 38);
radWaitingBar1.Name = "radWaitingBar1";
radWaitingBar1.Size = new System.Drawing.Size(150, 15);
radWaitingBar1.TabIndex = 0;
radWaitingBar1.WaitingSpeed = 10;
radWaitingBar1.ThemeClassName = "Telerik.WinControls.UI.RadWaitingBar";