Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
575
Fieldchooser: how to...
posted

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

Parents
No Data
Reply
  • 320
    Suggested Answer
    posted

    Hi,

    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

     

Children
No Data