An attempt to open previews for PropertyGridControl in a custom theme (based on Office2010Black) for v17.1.17 leads to the following error:
Call StackPreview crashed in addin. Exception: Object reference not set to an instance of an object.
at DevExpress.Xpf.ThemeDesigner.PreviewAddIn.VisualTree.<ToElements>d__8.MoveNext()
at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at System.Collections.Immutable.ImmutableArray.CreateRange[T](IEnumerable`1 items)
at System.Collections.Immutable.ImmutableArray.ToImmutableArray[TSource](IEnumerable`1 items)
at DevExpress.Xpf.ThemeDesigner.PreviewAddIn.VisualTree..ctor(IEnumerable`1 elements)
at DevExpress.Xpf.ThemeDesigner.PreviewAddIn.PreviewViewModel.Navigate(Object selectedObject)
at DevExpress.Xpf.ThemeDesigner.PreviewAddIn.PreviewViewModel.UpdateSelection(Object selectedObject)
at DevExpress.Xpf.ThemeDesigner.PreviewAddIn.PreviewViewModel.SelectPreviewControl()
at DevExpress.Xpf.ThemeDesigner.PreviewAddIn.PreviewViewModel.<UpdateContent>b__49_1()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
The Theme Designer's version is 21.2.2.0.