Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Edited Issue: array[][][] resets after editing in PropertyGrid/CollectionControl [22463]

$
0
0
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 **

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)_


Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>