Feature Request - RadzenPanel TitleBar Toggle #1126

Closed
opened 2026-01-29 17:49:15 +00:00 by claunia · 1 comment
Owner

Originally created by @blazorber on GitHub (Feb 14, 2024).

Hello,

is it possible to get the whole titlebar as a toogle to expand/collapse the panel?

image

Easier usability on mobile devices. They dont have to search for the smaller icon which is the only toggle.

Would be great.

Best regards

Originally created by @blazorber on GitHub (Feb 14, 2024). Hello, is it possible to get the whole titlebar as a toogle to expand/collapse the panel? ![image](https://github.com/radzenhq/radzen-blazor/assets/128692095/27daf286-170e-4166-b92c-26501191b79c) Easier usability on mobile devices. They dont have to search for the smaller icon which is the only toggle. Would be great. Best regards
Author
Owner

@enchev commented on GitHub (Aug 8, 2024):

Yes, you can do that with the following HeaderTemplate:

    <HeaderTemplate>
        <div onclick="this.parentNode.querySelector('.rz-panel-titlebar-toggler').click()" style="width:100%;">
            Your text
        </div>
    </HeaderTemplate>

Use our forum in the future for such questions.

@enchev commented on GitHub (Aug 8, 2024): Yes, you can do that with the following HeaderTemplate: ``` <HeaderTemplate> <div onclick="this.parentNode.querySelector('.rz-panel-titlebar-toggler').click()" style="width:100%;"> Your text </div> </HeaderTemplate> ``` Use our forum in the future for such questions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1126