PivotGridControl - Support for displaying images in field headers and field values.
Images in cells can be displayed using RepositoryItemHypertextLabel. TreeList - Support for displaying images in column and band headers.GridControl - Support for displaying images in column headers, band headers and group rows.LabelControl - Support for displaying images within the text of the label.GroupControl - Support for displaying images in the control’s caption.You can assign the image collection either to the RepositoryItemHypertextLabel.HtmlImages property or to the container control’s HtmlImages property (for instance, Data Grid’s BaseView.HtmlImages). RepositoryItemHypertextLabel - Support for displaying images in cells in container controls (Data Grid, TreeList, etc.).ButtonEdit descendants - Support for displaying images in 1) the edit box if the RepositoryItemButtonEdit.TextEditStyle is set to TextEditStyles.DisableTextEditor and 2) in embedded buttons.CheckEdit and ToggleSwitch - Support for displaying images within the text.BaseListBoxControl descendants ( ListBoxControl, ImageListBoxControl, CheckedComboBo圎dit) - Support for displaying images in items.They must be separated with “ ”, and specified without spaces.Ĭontrols and components that accept the image tag and provide the HtmlImages property are listed below. Possible values: top, bottom and center.Īttributes must be specified after the tag’s value, followed by the “ ” character. Size - sets the display size of the image.Īlign - specifies the vertical alignment of the image relative to the text. The following attributes for the image tag are supported. Use the control’s HtmlImages property to provide an image collection ( ImageCollection or SvgImageCollection ). If the image’s name is not preceded with ‘#’, it is implied that the image should be loaded by its name from a bound image collection. Thus, if you define images in the resources of your additional class library, these images cannot be loaded using the image tag, even from this library code. Project resource images can only be loaded from the Entry Assembly (the startup executable).
The image referenced from project resources will not appear at design time, but will appear at runtime. To insert an image from project resources, the image’s name must be preceded with the ‘#’ character. Inserts an image from a bound image collection or from project resources. Can be combined with Color and Size settings inside a single tag. Note that you cannot change fonts within text blocks that use “sub” and (or) “sup” tags. SimpleButton2.Text = "Underline and Bold Only Bold"ĭefine text that is smaller than neighboring letters, and displayed lower (subscript) or higher (superscript) than the previous character. SimpleButton1.Text = "Bold and Italic Only Italic Regular" SimpleButton2.Text = "Underline and Bold Only Bold" Otherwise, both font style sets are applied. If the static .KeepFontStyle property is false, a text block that has font style HTML tags (font family, font weight, etc.) ignores AppearanceObject font style settings. This resets any existing bold, italic, underlined and strikethrough formats, including those applied in control Appearance settings. The “r” tag applies normal text formatting. = Color.DimGrayĪllow you to create bold, italic, underlined and strikethrough strings. SimpleButton1.Text = "Maroon Green Maroon"
“Backcolor” blends with Appearance back colors if its alpha transparency key is less than 255 (40 in the example below). The “Color” tag overrides Appearance forecolors. Specify text foreground and background colors. Property that provides access to appearance settings To use this tag, you should enable word wrap with the TextOptions.WordWrap option of a corresponding appearance object. Note that if you need to use angle brackets (‘’) in the text of the controls that support HTML text formatting, you need to use an additional ‘” you should assign “” to the corresponding property.