Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
765
How can I get the size of the DropDown Button on a UltraDateTimeEditor?
posted

Hello

How can I get the size of the DropDown Button on a UltraDateTimeEditor?


Thanks a lot.

Parents
  • 21795
    Verified Answer
    Offline posted

    Hello Lee,

    Thank you for posting in our forum.

    To get the size of the dropdown button you need to get its UIElement. To do so you may use code like this:

    var dropDownButtonElement = this.ultraDateTimeEditor.UIElement.GetDescendant(typeof(DateTimeEditorDropDownButtonUIElement));

    var drobDownButtonSize = dropDownButtonElement.Rect.Size;

    In the attached sample project I have implement this. Please check my sample and let me know if you need any additional information.

    Thank you for using Infragistics Controls.

    CAS-168971-Z3Q0X0.zip
Reply Children
No Data