Hello,
Is there a way to have the border of controls visible when they are in a display mode of view?
I'm not sure if there is a way just thought I'd ask.
Thank you for your help,
Scobie
Hi @v-xida-msft,
Yes I was trying to find out if I could get certain controls to have a border when in a display mode of view. Unfortunatly their is no option for that as of yet hopefully there will be an option in the future. I did try the scenario you suggested but I could get it to work just right for me and changed the look to a different way.
Thank you for your help,
Scobie
Hi @Scobie,
Could you please share a bit more about your scenario?
Do you want to display the border of the control when they are in Display mode of view?
I afraid that there is no direct way to achieve your needs in PowerApps currently. I agree with @Drrickryp's thought almost.
I have made a test on my side, please take a tey with the following workaround:
Add a Label control, and then Overlay the label over the control (you want to display border), Set the BorderThickness property of the Label control to 2, Set BorderColor property of the Label control to RGBA(56, 96, 178, 1).
Set the Visible property of the Label control to following formula:
If(Control1.DisplayMode=DisplayMode.View,true,false)
Note: The Control1 represents the controls that you want to display border.
Best regards,
Kris
Not directly, but if you unlock the card, you can add a label and set its text property to the DataCardValue of the card. (In the example, the form named FormX.) Set the Visible property of the label to If(FormX.Mode=0,false,true). Overlay the label over the DataCardValue and set the Visible property of the DataCardValue to If(FormX.Mode=0,true,false). BTW Shane Young has a great video of form properties on YouTube. https://www.youtube.com/watch?v=BnzaSDYl8mA
MS.Ragavendar
32
Rajkumar_M
16
Super User 2025 Season 1
mmbr1606
16
Super User 2025 Season 1