Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SfAccordion #29

Open
Mussnicht opened this issue Sep 24, 2020 · 2 comments
Open

SfAccordion #29

Mussnicht opened this issue Sep 24, 2020 · 2 comments

Comments

@Mussnicht
Copy link

Excuse me,How can I make the accordion slide to the bottom automatically?

@LakshmiNatarajan21
Copy link

Hi @Mussnicht ,

You can use IsExpanded property for AccordionItem to expand/collapse automatically without interactions.

<syncfusion:SfAccordion Grid.Row="1">
    <syncfusion:SfAccordion.Items>
        <syncfusion:AccordionItem IsExpanded="True">
            <syncfusion:AccordionItem.Header>
                <Grid>
                    <Label TextColor="#495F6E" Text="Cheese burger" HeightRequest="50" VerticalTextAlignment="Center"/>
                </Grid>
            </syncfusion:AccordionItem.Header>
            <syncfusion:AccordionItem.Content>
                <Grid Padding="10,10,10,10" BackgroundColor="#FFFFFF">
                    <Label TextColor="#303030" Text="Hamburger accompanied with melted cheese. The term itself is a portmanteau of the words cheese and hamburger. The cheese is usually sliced, then added a short time before the hamburger finishes cooking to allow it to melt." HeightRequest="50" VerticalTextAlignment="Center"/>
                </Grid>
            </syncfusion:AccordionItem.Content>
        </syncfusion:AccordionItem>
    </syncfusion:SfAccordion.Items>
</syncfusion:SfAccordion>

@Mussnicht
Copy link
Author

Thanks,I have another question.How can I Use accordion with BindableLayout.EmptyView,It reported an error 'Invalid type added as child'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants