[]
Abstract class for elements that display text or images.
Derived classes should override GetValue() method to provide the content (text, images, formatted values).
This class does not have child elements.
public abstract class ContentElement : Element, ISupportUia
Name | Description |
---|---|
ContentElement() | Initializes a new instance of a ContentElement. |
ContentElement(Style) | Initializes a new instance of a ContentElement. |
Name | Description |
---|---|
GetValue() | Gets the value represented by this ContentElement. |
Layout(Graphics) | Layout this element based on its style and contents. |
RenderContent(Graphics, Rectangle) | Renders the element contents into the specified Graphics object at the specified location. |
ToString() | Gets a string representation of this ContentElement. |