This is the another thing i have tried and it is giving me another error:
Error : Name cannot begin with the '\' character, hexadecimal value 0x5C. Line 1, position 2214.
<xcdg:StatRow>
<xcdg:StatRow.Resources>
<xcdg:StatResultConverter x:Key="statResultConverter"/><app:MaskNumberConverter x:Key="maskConverter" />
</xcdg:StatRow.Resources>
<xcdg:StatCell FieldName="Qty">
<xcdg:StatCell.ContentTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding RelativeSource={RelativeSource Self}, Path=(xcdg:DataGridControl.StatContext).sum_Qty, Converter={StaticResource maskConverter}, ConverterParameter="\#,##,##,##,#0.00"}" Margin="4,0,0,0" />
</StackPanel>
</xcdg:StatCell.ContentTemplate>
</xcdg:StatCell >
<xcdg:StatCell FieldName="QtyMeasure">
<xcdg:StatCell.ContentTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding RelativeSource={RelativeSource Self}, Path=(xcdg:DataGridControl.StatContext).sum_QtyMeasure, Converter={StaticResource maskConverter}, ConverterParameter="\#,##,##,##,#0.00"}" Margin="4,0,0,0" />
</StackPanel>
</xcdg:StatCell.ContentTemplate>
</xcdg:StatCell >
<xcdg:StatCell FieldName="RunningCostAmtBC">
<xcdg:StatCell.ContentTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding RelativeSource={RelativeSource Self}, Path=(xcdg:DataGridControl.StatContext).sum_RunningCostAmtBC, Converter={StaticResource maskConverter}, ConverterParameter="$#,##,##,##,#0.00"}" Margin="4,0,0,0" />
</StackPanel>
</xcdg:StatCell.ContentTemplate>
</xcdg:StatCell >
<xcdg:StatCell FieldName="BalanceCostAmtBC">
<xcdg:StatCell.ContentTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding RelativeSource={RelativeSource Self}, Path=(xcdg:DataGridControl.StatContext).sum_BalanceCostAmtBC, Converter={StaticResource maskConverter}, ConverterParameter="$#,##,##,##,#0.00"}" Margin="4,0,0,0" />
</StackPanel>
</xcdg:StatCell.ContentTemplate>
</xcdg:StatCell >
<xcdg:StatCell FieldName="RunningCostAmtAC">
<xcdg:StatCell.ContentTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding RelativeSource={RelativeSource Self}, Path=(xcdg:DataGridControl.StatContext).sum_RunningCostAmtAC, Converter={StaticResource maskConverter}, ConverterParameter="\€#,###,###,###.##"}" Margin="4,0,0,0" />
</StackPanel>
</xcdg:StatCell.ContentTemplate>
</xcdg:StatCell >
<xcdg:StatCell FieldName="CostPerUnit">
<xcdg:StatCell.ContentTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding RelativeSource={RelativeSource Self}, Path=(xcdg:DataGridControl.StatContext).divide_CostPerUnit, Converter={StaticResource maskConverter}, ConverterParameter="\#,##,##,##,#0.00"}" Margin="4,0,0,0" />
</StackPanel>
</xcdg:StatCell.ContentTemplate>
</xcdg:StatCell >
<xcdg:StatCell FieldName="CataloguePriceBC">
<xcdg:StatCell.ContentTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding RelativeSource={RelativeSource Self}, Path=(xcdg:DataGridControl.StatContext).avg_CataloguePriceBC, Converter={StaticResource maskConverter}, ConverterParameter="$#,##,##,##,#0.00"}" Margin="4,0,0,0" />
</StackPanel>
</xcdg:StatCell.ContentTemplate>
</xcdg:StatCell >
</xcdg:StatRow>
maskConverter is the converter which i am using to convert the data of DataRow. It is working properly as you can see euro sign in DataRows.