I want to generate help file for my WPF library and want to know whether current version of Sandcastle (2.4.10522.00) has supported XAML Syntax very well?
I tried to generate a help for a wpf demo library and found some properties can not be generated with XAML Syntax.
public static readonly DependencyProperty LengthProperty = DependencyProperty.Register("Length", typeof(int), typeof(MyControl), new UIPropertyMetadata(0));
I checked the following source code and found:
SyntaxComponnet -> XamlUsageSyntaxGenerator -> DoesParentSupportXaml will check whether the parent class has a default constructor or not through : HasDefaultConstructor method.
And in that method, this XPath will be checked
private XPathExpression hasDefaultConstructorExpression = XPathExpression.Compile("boolean(typedata/@defaultConstructor)");
But that method will always retrun empty.
I checked the reflection schema: reflection.xsd. And there is no definition of
It seems the features for XAML supports have not finished yet, am I right?
If yes, when this feature (XAML Syntax) can be provided ? (Now, more WPF applications are developed and I think this one will be requested more and more.)
If no, are there some tips for generate the XAML syntax with correct results?