Making Graphics Effect Using Shape Control In Microsoft PowerApps

Before reading this article, please go through some of the important articles mentioned below.

In PowerApps, we can make the graphic effect by using Shape Control.

Shape Control

These controls include arrows, geometric shapes, action icons, and symbols for which you can configure properties such as fill, size, and location. You can also configure their On Select property so that the app responds if the user clicks or taps the control. Shape control provides an easy way to draw rectangles, circles, and other shapes on the screen.

Follow the below steps to work with Shape Control to make the Graphics Effect in PowerApps.

Step 1. Log into the PowerApps.

After downloading the PowerApps from the Windows Store, here, we need a Microsoft-related organization’s Office 365 ID (MSDN, Microsoft, Skype, Office 365, etc.,), to log in with.

PowerApps

Step 2. Create a New App in PowerApp.

After Login, we can see the Dashboard. There, we click on the New button.

Dashboard

Step 3. Choose the Blank app.

Blank app

Step 4. Designing the App.

Now, let's start designing the app. On the left side, we can see the Individual Screens for adding our data. On the right side, we see the list of layouts. At the Top, we see the formula bar. There, you see the Properties of the screen that you select. On the right side, we see the Add Data Source to add the External Data Source.

Designing the App

Step 5. Add the Controls to the Screen1.

  1. Select the Screen and change the screen name to Target.
    Screen
  2. Go to the Insert menu >> Controls and drag the Text Box control.
    Insert menu
  3. Drop the Text Box on the Screen and enter the text as Source Screen.
    Text Box
  4. Go to the Insert menu, choose Icons, and Drag the 6-point star control.
    Icons
  5. Drop the Control on the screen.
    Control
  6. Add the Options
  7. Select the Shape Control and Add the following coding to the OnSelect Property.
  8. Coding Navigate(source, ScreenTransition.Fade)
    Coding Navigate

Step 6. Add the Controls to the Screen 2.

  1. Go to the Inset Menu and add the New Screen.
    New Screen
  2. Select the Screen and Change the screen name as the source.
    Change the screen name
  3. Go to the Insert menu, then Controls, and Drag the Text Box control.
    Text Box control
  4. Drop the Text Box on the Screen and Enter the text as Destination Screen.
    Destination Screen
  5. Go to the Insert menu choose Icons and Drag the 8-point star control.
    Drag the 8-point star
  6. Drop the Control on the screen
    Drop the Control
  7. Add the Options.
  8. Select the Shape Control and add the following coding to the OnSelect Property.
  9. Coding Navigate(Target, ScreenTransition.Fade).
    Shape Control

Step 7. Run the App.

Run app

Output 1. Main Screen.

Main Screen

Output 2. Click on the 6-Star button.

6-Star button

Output 3. It will open Next Screen and Click on the 8-Star button.

 8-Star button

Output 4. It will open the First Screen.

First Screen

Conclusion

I hope you understood how to make the graphics effect by adding Shape Control in Microsoft PowerApps and how to run it.


Similar Articles