This article discusses how to work with coordinates in PCFs (Power Apps Component Framework). The author explains that while it is not a common requirement, there are situations where knowing the coordinates of a PCF is necessary. They provide examples of calculating the bounding rectangle and finding the coordinates inside the PCF. The author also shares a use case where they needed to control the position of a Fluent UI 9 Dialog relative to a button in the PCF. They explain how to detect the coordinates of the anchor control and use them to position the Dialog. The article concludes by stating that while some parts were easy, others required more time and they hope that their notes can help others.
Login now to access my digest by 365.Training