I was playing around with setting up the navigation created by a legacy custom site definition. Information posted for my reference more than anything else:
<WebFeatures>
<Feature ID="541F5F57-C847-4e16-B59A-B31E90E6F9EA">
<Properties xmlns="http://schemas.microsoft.com/sharepoint/">
<Property Key="InheritGlobalNavigation" Value="true"/>
<Property Key="IncludeSubSites" Value="true"/>
<Property Key="IncludePages" Value="false"/>
<Property Key="InheritCurrentNavigation" Value="false"/>
</Properties>
</Feature>
</WebFeatures>
Some of the settable properties are:
The boolean properties:
- IncludeInGlobalNavigation
- IncludeInCurrentNavigation
- InheritGlobalNavigation
- InheritCurrentNavigation
- ShowSiblings
- IncludeSubSites
- IncludePages
- SortAscending
The next properties take an enum:
- OrderingMethod - Automatic, ManualWithAutomaticPageSorting, Manual
- AutomaticSortingMathod - Title, CreatedDate, LastModifiedDate