Hie
I declared all my property description in a LocalDataSourceProvider as below. On the first run it works well, but when I uncheck and re-check my custom property are removed (CustomName and AggregateFunction) and property are not put in the right bow (RowGroupDescription instead of ColumnGroupDescriptions) as shown in the attached file. Does it exist some property to set to not lose custom description ?
<
pivot:LocalDataSourceProvider
x:Key
=
"DataSourceProvider"
ItemsSource
=
"{Binding SynthesisData}"
>
<
pivot:LocalDataSourceProvider.RowGroupDescriptions
>
<
pivot:PropertyGroupDescription
PropertyName
=
"ElementName"
CustomName
=
"Element Name"
/>
<
pivot:PropertyGroupDescription
PropertyName
=
"LatticeType"
CustomName
=
"Lattice Type"
/>
</
pivot:LocalDataSourceProvider.RowGroupDescriptions
>
<
pivot:LocalDataSourceProvider.ColumnGroupDescriptions
>
<
pivot:PropertyGroupDescription
PropertyName
=
"JibName"
CustomName
=
"Jib Name"
/>
<
pivot:PropertyGroupDescription
PropertyName
=
"Type"
/>
</
pivot:LocalDataSourceProvider.ColumnGroupDescriptions
>
<
pivot:LocalDataSourceProvider.AggregateDescriptions
>
<
pivot:PropertyAggregateDescription
PropertyName
=
"Percentage"
CustomName
=
"Base %"
AggregateFunction
=
"Max"
StringFormat
=
"#.00\%"
/>
<
pivot:PropertyAggregateDescription
PropertyName
=
"ModifiedPercentage"
CustomName
=
"Ruled %"
AggregateFunction
=
"Max"
StringFormat
=
"#.00\%"
/>
<
pivot:PropertyAggregateDescription
PropertyName
=
"Radius"
CustomName
=
"Radius"
StringFormat
=
"#.00 m"
AggregateFunction
=
"Max"
/>
</
pivot:LocalDataSourceProvider.AggregateDescriptions
>
</
pivot:LocalDataSourceProvider
>
...
<
pivot:RadPivotGrid
x:Name
=
"Pivot"
Margin
=
"8,8,292,7.565"
DataProvider
=
"{StaticResource DataSourceProvider}"
ColumnSubTotalsPosition
=
"Right"
>
<
pivot:RadPivotGrid.RowGroupsExpandBehavior
>
<
pivot:GroupsExpandBehavior
Expanded
=
"False"
/>
</
pivot:RadPivotGrid.RowGroupsExpandBehavior
>
<
pivot:RadPivotGrid.ColumnGroupsExpandBehavior
>
<
pivot:GroupsExpandBehavior
Expanded
=
"False"
/>
</
pivot:RadPivotGrid.ColumnGroupsExpandBehavior
>
</
pivot:RadPivotGrid
>
<
pivot:RadPivotFieldList
Grid.Row
=
"0"
Margin
=
"0,8,8,7.565"
HorizontalAlignment
=
"Right"
Width
=
"283"
DataProvider
=
"{StaticResource DataSourceProvider}"
/>