When editing the last array in an array[][][], all values of that array will be reset to default.
(e.g. an int[3] will become {0, 0, 0}).
I have attached a video to make the issue more clear.
Here's the code I used in the video:
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
PropertyGrid.SelectedObject = new MyClass();
}
}
public class MyClass
{
public MyClass()
{
MyArray = new double[1][][];
MyArray[0] = new double[1][];
MyArray[0][0] = new double[1];
MyArray[0][0][0] = 123;
}
public double[][][] MyArray { get; set; }
}
This was tested in version 2.8.0 of the toolkit because newer versions have a null reference error.
Comments: ** Comment from web user: BoucherS **
(e.g. an int[3] will become {0, 0, 0}).
I have attached a video to make the issue more clear.
Here's the code I used in the video:
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
PropertyGrid.SelectedObject = new MyClass();
}
}
public class MyClass
{
public MyClass()
{
MyArray = new double[1][][];
MyArray[0] = new double[1][];
MyArray[0][0] = new double[1];
MyArray[0][0][0] = 123;
}
public double[][][] MyArray { get; set; }
}
This was tested in version 2.8.0 of the toolkit because newer versions have a null reference error.
Comments: ** Comment from web user: BoucherS **
Hi,
This will be fixed in v3.3.
――――
_Get more controls, features, updates and technical support with [Xceed Toolkit Plus for WPF](https://wpftoolkit.codeplex.com/wikipage?title=Compare%20Editions)_