The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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!
ADAdministrator Syncfusion Team 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.
RMRoss Micheals 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.