I might just be missing a very simple property here... the rows appear fine as soon as the application is run, but as soon as you click on a row, the value is rounded to two decimal places. Here's my code:
private void RadForm1_Load(object sender, EventArgs e){ RadPropertyStore PropertyStore = new RadPropertyStore(); radPropertyGrid1.SelectedObject = PropertyStore; PropertyStore.Add(new PropertyStoreItem(typeof(double), "test", 184.9484)); PropertyStore.Add(new PropertyStoreItem(typeof(double), "test2", 341651.7823));}I tried to force the decimal places to remain the same using this, but it did not work:
private void radPropertyGrid1_EditorInitialized(object sender, PropertyGridItemEditorInitializedEventArgs e){ PropertyGridTableElement te = sender as PropertyGridTableElement; PropertyGridSpinEditor editor = e.Editor as PropertyGridSpinEditor; if (editor != null && te != null) { ((BaseSpinEditorElement)editor.EditorElement).DecimalPlaces = 5; }}How can I prevent my values from being rounded?
Thanks!
