DateTimeCellType Change Icon Toggle Button

Posted by: quockhanhk15tpm on 21 June 2022, 2:20 pm EST

    • Post Options:
    • Link

    Posted 21 June 2022, 2:20 pm EST - Updated 3 October 2022, 11:29 pm EST


    I using DateTimeCellType for format column of GcSpreadGrid. Is there a way for me to change the button like in the attached image?


  • Posted 21 June 2022, 9:56 pm EST


    Thanks for the snapshot.

    In order to achieve this requirement you can set DropDownButtonStyle as:

           <Style x:Key="dropDownButtonStyle" TargetType="gc:CellDropDownButton">
                <Setter Property="Template">
                            <Image Source="Resources/calendar.png"/>

    Please refer the attached sample for the same:

    Best Regards, Nitin

  • Posted 22 June 2022, 2:01 pm EST


    Thanks for your answer. It’s great.


Need extra support?

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

Learn More

Forum Channels