In Canvas Apps, custom controls allow you to create your own reusable components, which can be added to a screen just like any other control. Custom controls can simplify app design and make it easier to maintain consistency across multiple screens. Here are the steps to create and use custom controls in Canvas Apps:
- Create a custom control: To create a custom control, go to the “Components” tab in the left-hand pane of the canvas app designer and select “Custom”. Then, click “New custom control” and choose a name for your control. You can then add any combination of other controls to your custom control, configure their properties and events, and define their behaviours.
- Publish the custom control: Once you’ve created your custom control, you need to publish it to make it available for use in other screens of your app. Click “Publish” to publish the custom control to your app.
- Use the custom control in a screen: To use a custom control in a screen, drag and drop it from the “Components” tab onto the screen. You can then configure the properties of the custom control and bind it to data sources or other controls.
- Customize the custom control on a screen: If you need to customize the custom control on a screen, select it and click “Edit” to open the custom control editor. You can then modify the behaviour or appearance of the custom control as needed.
Overall, custom controls provide a flexible way to create reusable components in Canvas Apps. By following the steps above, you can create your own custom controls and use them to simplify app design and improve consistency across multiple screens.
Comments
2 responses to “Custom controls in Canvas App”
Hello,
from the text I don’t really understand the difference between a custom component and a custom control.
Maybe, you could specify a bit more.
Thank you!
Sure Andreas, I am going to create detail video on this topic