1.BarManager管理

  1.1 BarCheckitem的CheckChanged事件发生在选择状态改变之后。

  1.2 barEditItem(ComboBoxEdit)添加Item

1 string item = "comboboxItem1";   ((DevExpress.XtraEditors.Repository.RepositoryItemComboBox)this.barEditItem.Edit).Items.Add(item);
2 barEditItem2.EditValue = repositoryItemComboBox2.Items[1];
3 //设置从repositoryItemComboBox2中选择值

  1.3 ComboBoxEdit(barEditItem)取文本

1 string itemValue = this.barEditItem.EditValue.ToString();// 获取文本

2.RadioGroup通过SelectIndex属性获取和设置当前选择项。SelectedIndexChanged做出判断。

1 RadioGroup1.SelectedIndex==1

 3. SimpleButton的背景色。

   simpleButton.Apperence.BackColor起作用,需要设置ButtonStyle为Simple或者其他的如Flat。

相关文章:

  • 2021-09-15
  • 2022-02-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-16
  • 2021-12-01
  • 2021-12-23
猜你喜欢
  • 2021-06-19
  • 2022-12-23
  • 2021-10-22
  • 2021-12-16
  • 2022-12-23
  • 2022-01-03
相关资源
相似解决方案