Introduction to modern Link control
Link control is one of the new modern controls that came into existence not too long ago. When I first looked at it, I wondered why we needed this control. I can always add a button and set the OnSelect to the link I want to open using the Launch function. However, then there is no difference in how a standard button looks vs one used this way. Also, I can use a HTML control but it isn't accessible. That is where this new control comes in. It brings the ability to open links while being fully accessible. And, visually, it looks different from a standard button.
Properties
- Text - The text to display the link (think of it as text of a button)
- URL - The URL to which the user should navigate to when clicking on this control
- Wrap - If you want to wrap the text to multiple lines
- AutoHeight - If you do set the Wrap property to true, settings AutoHeight to true helps ensure that the entire text remains visible
Using modern Link control
The Link control is pretty straightforward to use. Here is a quick demo:
Stay tuned for the remaining modern controls!
To read the official documentation of modern controls, click here.