yes, there is one. i forgott them by Copy and Paste Action.
Thanks
Peter
After further investigation, it would seem i made a vital mistake and forgot to initialize the NestedType.
After adding a Default constructor to the BaseType to initialize it, the property grid works as expected.
My bad.
Apologies, i cant seem to remove issues once created.
BradleyB42000 has uploaded a patch.
Description:
Add a binding for the LayoutAnchorablePaneControl's background property, to set it to that of the Model.Root.Manager.Background.
Hi, I have the same problem that causes a crash in VS2012.
Here is a sample code I made to be sure the issue was in Zoombox and not in my code.
```
<Window x:Class="ZoomboxBug.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
Title="MainWindow" Height="350" Width="525">
<Grid>
<xctk:Zoombox x:Name="Zoom">
<TextBlock Foreground="Black">Hello World</TextBlock>
</xctk:Zoombox>
</Grid>
</Window>
```
```
using System.Windows;
namespace ZoomboxBug {
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window {
public MainWindow() {
InitializeComponent();
this.Zoom.Scale = 1;
}
}
}
```
Extended.Wpf.Toolkit v 2.2.1 installed via NuGet
Regards,
cube45
using System.Collections.ObjectModel;
using System.Windows;
namespace TestProject
{
public partial class Test : Window
{
public Test()
{
InitializeComponent();
var selectedOptions = new ObservableCollection<string>() { "One", "Two", "Three" };
var selectableOptions = new ObservableCollection<SelectableOption>()
{
new SelectableOption {Display = "One", Value = "1"},
new SelectableOption {Display = "Two", Value = "2"},
new SelectableOption {Display = "Three", Value = "3"},
new SelectableOption {Display = "Four", Value = "4"},
new SelectableOption {Display = "Five", Value = "5"}
};
ComboBox.ItemsSource = selectableOptions;
ComboBox.DisplayMemberPath = "Display";
ComboBox.SelectedMemberPath = "Value";
ComboBox.SelectedItemsOverride = selectedOptions;
}
public class SelectableOption
{
public string Display { get; set; }
public string Value { get; set; }
}
}
}
and the XAML:<Window x:Class="TestProject.Test"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
Title="Test" Height="178" Width="300">
<Grid>
<xctk:CheckComboBox x:Name="ComboBox"
Margin="10,33,10,0"
VerticalAlignment="Top"
TabIndex="3"
Height="22"
RenderTransformOrigin="0.743,-1.136"
/>
</Grid>
</Window>
public class SelectableOption
{
public string Display { get; set; }
public string Value { get; set; }
public bool IsSelected {get;set}
}
...and instead of using the SelectedItemsOverride use the SelectedMemberPath="IsSelected"