C1ToolBar Navigation & Caption Problem

Posted by: sanjeeb.srjm on 1 September 2021, 6:19 pm EST

  • Posted 1 September 2021, 6:19 pm EST

    Dear Sir/Mam,

    Please find the attached project sample:-

    We want the followings against image shown of the dashboard:-

    1. We want to display text below icon so that we can resize c1toolbar as smallest.

    2. We want to navigate through Admin, User, Inventory etc main dropdown menus through up and down arrow respectively…

    Please help us to do so…

    Regards-

    Sanjeeb

    Dashboard.zip

  • Posted 2 September 2021, 5:37 pm EST

    Dear Sir/Mam,

    Still waiting for your kind support…

    Regards-

    Sanjeeb

  • Posted 2 September 2021, 8:29 pm EST

    Hi Sanjeeb,

    1. You can use the ButtonLayoutVert property of the toolbar and set it to TextBelow.
    c1ToolBar1.ButtonLayoutVert = C1.Win.C1Command.ButtonLayoutEnum.TextBelow;
    
    1. Sorry but as per the development team, there is no good implementation that will allow this behavior without breaking something.

    Regards

    Avnish

  • Posted 2 September 2021, 8:54 pm EST

    Dear Avnish Sir,

    We only request you provide us a keydown event handler for C1Command.

    After that we will manage how to handle rest of the things to achieve the output …

    Regards-

    Sanjeeb

  • Posted 3 September 2021, 1:20 pm EST

    Dear Avnish Sir,

    It’s the most requested as well as awaited feature to enable by our customers…

    Because they want to navigate to all menus by keyboard up-down-left-right arrows just like normal winform menustrip does from the begining…

    Thus, kindly request you to convince our team for this feature…

    Please sir…

    Regards-

    Sanjeeb

  • Posted 5 September 2021, 5:31 pm EST

    Hi Sanjeeb,

    We have forwarded your request to the development team and will let you know as soon as we get any updates.

    Regards

    Avnish

    [Internal tracking ID : C1WIN-24056 ]

  • Posted 6 September 2021, 4:13 pm EST

    Thankx a lot sir.

    will be waiting for the solution …

    Regards-

    Sanjeeb

  • Posted 11 September 2021, 1:24 pm EST

    Respected Avnish Sir,

    Still waiting for your kind support…

    Regards-

    Sanjeeb

  • Posted 12 September 2021, 1:51 pm EST

    Hi,

    We do not have any updates on the issue yet. We have asked for an update and will let you know as soon as we get any information.

    Regards

    Avnish

  • Posted 12 September 2021, 4:03 pm EST

    Hi,

    The ETA provided by the development team for this issue is the 21v3 release.

    Regards

    Avnish

  • Posted 12 September 2021, 6:19 pm EST

    Thankx Avnish Sir,

    there are some minor formatting issues as shown in image also included in project :

    1. there is more padding between image and text. how to adjust ?
    2. how to set border ? so that one dropdown looks specific.
    3. how to adjust font size of User, Inventory etc without affecting their sub menus font size ?
    4. how to align image and text horizontally centered but separately to look good ?

    Regards-

    Sanjeeb

    Hint.Store.zip

  • Posted 12 September 2021, 8:52 pm EST

    Hi,

    1.) Sorry but you can not change the padding. The padding as you see is already minimal, if you look at the User CommandLink, it is the image that has extra space at the bottom that makes the padding seems larger.

    2.)Sorry but you can not set the border of the dropdown of the CommandMenu.

    3.) You can change the font of the DropDown menu by changing the Font property of the CommandMenu. To change the font of the CommandLinks, you can place the toolbar on a CommandDock and then set the Font for the C1CommandDock.

    4.) You can set the ButtonAlign property of the toolbar to Center to center align the text and Image. You can not set the alignment for the text and image differently.

    Alternatively, you can use the DrawLink event to owner draw the command links according to your requirements but then you will have to manually handle the drawing of the CommandLink’s content. You can refer to the following links:

    Blog: https://www.grapecity.com/blogs/customizing-c1toolbar-items-in-winforms

    Documentation: https://www.grapecity.com/componentone/docs/win/online-menus-toolbar/C1.Win.C1Command.4.5.2~C1.Win.C1Command.C1ToolBar~DrawLink_EV.html

    Please refer to the sample attached.

    Regards

    Avnish

    Hint.Store.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels