We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

DigitText

Hello,

is there a possibility to change the value of DigitText (clock control)?

Best regards
Frank

1 Reply

SK Senthil Kumaran Rajan Syncfusion Team July 15, 2015 09:56 AM UTC

Hi Frank,

Thank you for using Syncfusion products.

We suspect that the reported requirement is to enable custom time in Digital Clock. If so, it can be achieved by using ShowCustomTimeClock and CustomTime property. Please make use of following code example.

Code Snippet[C#]:

private void button1_Click(object sender, EventArgs e)

   {

       //To show the custom time

       this.clock1.ShowCustomTimeClock = true;

       //To set the Custom time for the clock

       this.clock1.CustomTime = new DateTime(2015, 7, 21, 05, 00, 00);

   }


We have also prepared a sample for your reference and it can be downloaded from the following location:

Sample Location : http://www.syncfusion.com/downloads/support/forum/119606/ze/DigitalClock-1375672516

Please check with the above sample and let us know if it helps? Otherwise we request you to share us more details about the requirement which will be helpful for us to analyze and provide prompt solution as early as possible.

Please let us know if you need further assistance.

Regards,
Senthil

Loader.
Live Chat Icon For mobile
Up arrow icon