I am trying to format a listview that is bound to a datatable of phone numbers. I would like it to be (###)-###-#### I have had no success. I have written it in xaml as follows:
<ListView Name="lstPhone" Grid.Row="5" Height="100" ItemsSource="{Binding }">
<ListView.View>
<GridView >
<GridViewColumn DisplayMemberBinding="{Binding Path=PHONE,StringFormat=\{0:(###)-###-#####\}}" Width="100" Header="Number"/>
</GridView>
</ListView.View>
</ListView>