Tamil Rk

Tamil Rk

  • 1.3k
  • 451
  • 17.8k

How to select multiple label controls on run time?, and how

Jun 18 2020 6:45 AM
I'm using a c# windows application. need an option for "Align Lefts" and "Align Tops" like windows form controls align tool.
I have used "Control. Draggable" package to moving the label controls on run time and need below option:
In runtime,
1. Align lefts button:
-- if I select label2, label3, and label4 & click to Align left button, then label3, and label4 should move in X position location same as label2 X position.
2. Align Tops button
-- if I select label3, label1, and label2 & click to Align Tops button, then label2, and label1 should move in Y position location same as label3 Y position.
i attached the video link and sample sources code. please suggest me, how to implement this option on run time.
 
Video Link 
https://ttprivatenew.s3.amazonaws.com/pulse/anilkumar-aitechindia/attachments/13852590/TinyTake18-06-2020-03-59-04.mp4
 
 Sources code download link:
https://wetransfer.com/downloads/94ca9ad21d86dfa2b4b15338f0b32eda20200618113243/2675b1

Answers (1)