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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Width of DateTimePickerAdv

Thread ID:

Created:

Updated:

Platform:

Replies:

26358 Mar 21,2005 09:17 PM UTC Mar 22,2005 06:51 PM UTC WinForms 2
loading
Tags: Tools
Ross Micheals
Asked On March 21, 2005 09:17 PM UTC

Is there a way to (programatically) get the width of a DateTimePickerAdv, *excluding* the checkbox and the DropDown? I want to programatically set the width of the control to accomdate a specific string length, but don''t want the checkbox or dropdown to occlude it. Thanks!

Administrator [Syncfusion]
Replied On March 22, 2005 04:12 PM UTC

Hi Ross, The checkbox and DropDown both have a width of approximately 20, so if you just subtract 40 from DateTimePickerAdv.Size.Width you''ll have a good estimate of the space allowed for the text. Regards, Gregory Austin Syncfusion Inc.

Ross Micheals
Replied On March 22, 2005 06:51 PM UTC

Thanks for the quick reply. >Hi Ross, > > The checkbox and DropDown both have a width of approximately 20, so if you just subtract 40 from DateTimePickerAdv.Size.Width you''ll have a good estimate of the space allowed for the text. > >Regards, >Gregory Austin >Syncfusion Inc.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;