Posted 18 years ago by Brian Buff
Avatar
Does this control support the full spectrum of HTML tags? I'm playing with the eval version and <ul> and <li> tags don't render correctly. Is there a list of what is supported so we can guage the value of purchasing UIStudio?

Thanks,
B.

Comments (1)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Brian,

Actually MarkupLabel is just part of our WinUICore framework that is available for use with any of our products that use WinUICore. It's not considered a control in UIStudio, but rather a little hidden control in our supporting framework that any licensed customers of our products can use.

It only supports a small subset of HTML. The supported tags are listed in SyntaxEditor's documentation topic "IntelliPrompt Formatting Guide".

I'll include the important info here:

Formatting Tags

The markup text is specified using lowercase HTML-like formatting tags. All tags must be well-formed must be in XML-compliant syntax.

These tags are supported:

b - Renders the enclosed text in a bold face.
br - Adds a line break.
em - Renders the enclosed text using emphasis. The default style renders in italics.
i - Renders the enclosed text in an italic style.
span - Changes the formatting of the enclosed text. This tag should be used with the style attribute to specify formatting such as color, font, etc.
strong - Renders the enclosed text using a strong face. The default style renders in bold face.
u - Renders the enclosed text with an underline.

The style Attribute

The style attribute can be applied to any tag listed above. It accepts a subset of CSS (cascading style sheets) properites as input.

The supported properties are:

background-color - The background color of the text. This value can be specified using HTML format (e.g. #RRGGBB) or by referencing standard web colors by name (e.g. Red).
color - The foreground color of the text. This value can be specified using HTML format (e.g. #RRGGBB) or by referencing standard web colors by name (e.g. Red).
font-family - The font family of the text. This can be any valid font family name (e.g. Tahoma).
font-size - The font size of the text. This is currently always specified in points (e.g. 10pt).
font-weight - The font weight, or boldness, of the text. These values map to a normal font: normal, lighter, 100, 200, 300, 400, 500. These values map to a bold font: bold, bolder, 600, 700, 800, 900.
font-style - The font style of the text. The values italic and oblique map to an italic font. The value normal map to a normal font.
text-decoration - The decoration for the text. The value none uses no decoration. The value underline draws a line under the text. The value line-through draws a line through the middle of the text (strike-through).


Actipro Software Support

The latest build of this product (v24.1.0) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.