DateTimeCellType Change Icon Toggle Button

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

  • Posted 21 June 2022, 2:20 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?

  • Marked as Answer

    Replied 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,
  • Replied 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