ITextElement Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines properties and methods for elements that display text.
public interface class ITextElement
public interface ITextElement
type ITextElement = interface
Public Interface ITextElement
- Derived
Remarks
This interface is implemented by UI elements that can display text and allows consistent text styling and formatting across different controls.
Properties
CharacterSpacing |
Gets the character spacing. |
TextColor |
Gets the color of the text. |
TextTransform |
Gets or sets the text transformation. |
Methods
OnCharacterSpacingPropertyChanged(Double, Double) |
Called when the CharacterSpacing property changes. |
OnTextColorPropertyChanged(Color, Color) |
Called when the TextColor property changes. |
OnTextTransformChanged(TextTransform, TextTransform) |
Called when the TextTransform property changes. |
UpdateFormsText(String, TextTransform) |
Updates the text according to the specified transformation. |