web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Is there a way to refe...
Power Apps
Unanswered

Is there a way to reference another component in a custom property, and use it in property paths? e.g. Width = customProperty.Value.Width?

(0) ShareShare
ReportReport
Posted on by 4

This would make tying various properties to one control/component in a scene super easy and make components that follow other components really fast to use.

Categories:
  • v-wenjuan-msft Profile Picture
    Microsoft Employee on at

    Hi @BrettM ,

     

    Do you mean you would like to keep a component's size got synced when another component got modified?

    For example, I have a combo box and a text input control, I want the text input's width get changed once if I change the combo box's width. Set the text input's width to:

     

    ComboBox1.Width

     

    vwenjuanmsft_0-1682389252495.png

     

    Community Support Team _ Wenjuan Zou

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

  • BrettM Profile Picture
    4 on at

    Yes, but not simply the size. And I don't want to have to tie the width, height, x, y, abc, def manually. I want to reference it BEFOREhand using a custom property, though I haven't seen any examples of it done yet.

    Let's say I make a component, and I set
    width = customProperty.width
    height = customProperty.height
    isTrue = customProperty.isTrue

    Then when I drop it into a screen, I can set customProperty = ComboBox1, and have everything tied up already.

    Does that make sense?

  • BrettM Profile Picture
    4 on at

    And assuming that it is not possible to reference an object as a data type in a property, pulling the value in some way that it can be used in a property.

    e.g. width = customProperty.Value.Width

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard