I am trying to set the RadDropDownButton font color by programming by setting this.btnActionOfDeviceTask.ForeColor,but the font color does change at all, is there the way to set the font color?
//
// btnActionOfDeviceTask
//
this.btnActionOfDeviceTask.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnActionOfDeviceTask.Items.AddRange(new Telerik.WinControls.RadItem[] {
this.btnEnableDeviceofTask,
this.btnDisableDeviceOfTask}
);
this.btnActionOfDeviceTask.Location = new System.Drawing.Point(310, 7);
this.btnActionOfDeviceTask.Name = "btnActionOfDeviceTask";
this.btnActionOfDeviceTask.Text = "Edit task state";
this.btnActionOfDeviceTask.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular);
this.btnActionOfDeviceTask.ForeColor = System.Drawing.Color.FromArgb(21, 66, 139);
this.btnActionOfDeviceTask.BackColor = System.Drawing.Color.Transparent;
this.btnActionOfDeviceTask.Size = new System.Drawing.Size(136, 24);
this.btnActionOfDeviceTask.TabIndex = 77;
this.btnActionOfDeviceTask.Enabled = false;
//
// btnActionOfDeviceTask
//
this.btnActionOfDeviceTask.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnActionOfDeviceTask.Items.AddRange(new Telerik.WinControls.RadItem[] {
this.btnEnableDeviceofTask,
this.btnDisableDeviceOfTask}
);
this.btnActionOfDeviceTask.Location = new System.Drawing.Point(310, 7);
this.btnActionOfDeviceTask.Name = "btnActionOfDeviceTask";
this.btnActionOfDeviceTask.Text = "Edit task state";
this.btnActionOfDeviceTask.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular);
this.btnActionOfDeviceTask.ForeColor = System.Drawing.Color.FromArgb(21, 66, 139);
this.btnActionOfDeviceTask.BackColor = System.Drawing.Color.Transparent;
this.btnActionOfDeviceTask.Size = new System.Drawing.Size(136, 24);
this.btnActionOfDeviceTask.TabIndex = 77;
this.btnActionOfDeviceTask.Enabled = false;