MarkupLabel Control
See Also

| Markup ActiveX Control v24.0 | | | | | | | | |
|-------------------------------|---|---|---|---|---|---|---|---|
Description
A MarkupLabel control is used to display XAML Markup.
For a list of all members defined in this module, see MarkupLabel Members.
Object Model





Remarks
The CheckBox, Button, RadioButton, Label, and MarkupLabel controls can be used with Markup that has a tag. This allows the click event to be caught when the user clicks a hyperlink, and some information from the tag will be sent to identify it.
In addition to the HyperlinkClick event, the events of any Markup object can be caught when using the controls mentioned above. For example, if there is some markup with an Ellipse, it can change color to green when the user moves the cursor over it.
Note: As of version 12.1.0, the CheckBox, Button, RadioButton, Label, and MarkupLabel controls can catch Markup events.
When using the MarkupLabel control, it allows Markup to be created in code without needing to parse a long markup string. For example, the Markup string "..." can be created in code using:
Set Grid1 = Context.CreateObject("Grid")
This is accomplished by setting the MarkupLabel.MarkupUIElement property to a Markup object created in code.
Set MarkupLabel1.MarkupUIElement = StackPanel
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.