Hi,
I've a question to the Fieldchooser (in my case of the XamDataCard).
1. My XamDataCard has three Fieldlayouts I've defined. If I open the Fieldchooser I see all the three Layout in the combobox at the top. What I want is, if I switch in the combobx to another layout, the layout of the underlying XamDataCard shall be changed also. How can I do this?
2. The Property XamDataCards.dataCard.FieldLayoutSettings.HeaderPrefixAreaDisplayMode takes no effect, if I set the value to HeaderPrefixAreaDisplayMode.FieldChooserButton. Is it possible to place a FieldChooserButton in a XamDataCard?
thanks and greets....Marco
The button which you need to add to the CardViewCard template is the following:
<Button Name="btnShowFieldChooser" Command="{x:Static igDP:DataPresenterCommands.ShowFieldChooser}" CommandTarget="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type igDP:XamDataCards}}}" Grid.Row="3">Show FieldChooser</Button>
Regards,
Ivan