DockingManager window resize in programatically?

is it possible in UWP like syncfusion Winform method SetControlResize(control,new Size()). when dockingState is float 


2 Replies

BA BagavathiPerumal Apranandham Syncfusion Team June 20, 2023 02:53 PM UTC

Hi Dongsik cho,



We are validating your reported query. We will validate and update you on or before 22nd June 2023. We appreciate your patience until then.



Regards,
Bagavathi Perumal A




BA BagavathiPerumal Apranandham Syncfusion Team June 22, 2023 12:19 PM UTC

Hi dongsik cho,



We suggest using the “SetFloatingWindowRect()” method to change the size of the float window in DockingManager. We have prepared a sample based on your requirement. In this sample, we have changed the size of the float window within the DockStateChanging Event. Please refer to the attached sample and video for your reference.


Code Snippets:

private void Docking_DockStateChanging(object sender, DockStateChangingEventArgs args)

{

      Rect newRect = new Rect(100, 100, 800, 200);


      SfDockingManager.SetFloatingWindowRect(args.TargetElement, newRect);


}




Regards,
Bagavathi Perumal A


Attachment: SfDockingManager_UWP_5c91a299.zip

Loader.
Up arrow icon