Every control has a multitude of properties associated with it that allow us to define its look, feel, and behavior. Some of the properties are style-related and govern the appearance of the control while it's being viewed by a user, while others are action-related and require the user to interact with the control for it to take effect.
Every control shares some very basic styling properties:
- X: This is the horizontal position of the control on your canvas and is expressed as a number of pixels (in terms of distance) from the left side of the app.
- Y: This is the vertical position of the control on your canvas and is expressed as a number of pixels (in terms of distance) from the top of the app.
- Width: The width of your control.
- Height: The height of your control.
- OnSelect: This action is taken when a user clicks or taps the control. This is set to false by default, which means that no action will be taken.
All of these properties allow you to define either static...