- Best way to set the same Look-and-Feel style of the entire application with DXperience for Windows Form
123456789static void Main() {DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName = "skinName"; // <<< this lineApplication.EnableVisualStyles();Application.SetCompatibleTextRenderingDefault(false);Application.Run(new MainForm());}
https://www.devexpress.com/Support/Center/Question/Details/K18013
- How to remove the column on the left of the first column (GridEdit)
1Setting the GridView.OptionsView.ShowIndicator property to false
https://www.devexpress.com/Support/Center/Question/Details/CQ55903 - Allow only decimal number in TextEdit
12Set MaskType = NumericSet EditMask = "d"
https://documentation.devexpress.com/#WindowsForms/CustomDocument1498 - Add object to item of ComboBoxEdit
12345678910111213141516171819202122232425262728ComboBoxEdit combo = new ComboBoxEdit(); //You can use comboboxEdit existed on formComboBoxItemCollection coll = combo.Properties.Items;coll.BeginUpdate();try {coll.Add(new PersonInfo("Sven", "Petersen"));coll.Add(new PersonInfo("Cheryl", "Saylor"));coll.Add(new PersonInfo("Dirk", "Luchte"));}finally {coll.EndUpdate();}combo.SelectedIndex = -1;Controls.Add(combo);//...public class PersonInfo {private string _firstName;private string _lastName;public PersonInfo(string firstName, string lastName) {_firstName = firstName;_lastName = lastName;}public override string ToString() {return _firstName + " " + _lastName;}}
https://documentation.devexpress.com/#windowsforms/clsDevExpressXtraEditorsComboBoxEdittopic - Updating….