RichEditMathMode Enum
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 constants that specify whether a RichEditBox interprets input as math (MathML) or text.
Important
The Microsoft.UI.Text.RichEditMathMode API is part of a Limited Access Feature (see LimitedAccessFeatures class). For more information or to request an unlock token, please use the LAF Access Token Request Form.
public enum class RichEditMathMode
/// [Windows.Foundation.Metadata.Version(1)]
enum class RichEditMathMode
[Windows.Foundation.Metadata.Version(1)]
public enum RichEditMathMode
var value = Microsoft.UI.Text.RichEditMathMode.noMath
Public Enum RichEditMathMode
- Inheritance
-
RichEditMathMode
- Attributes
Fields
Name | Value | Description |
---|---|---|
NoMath | 0 | Input is interpreted as text. |
MathOnly | 1 | Input is interpreted as math. |
Remarks
Math mode enables users to have input automatically recognized and converted to MathML while being received. For example, "4^2" is converted to "42", and "1/2" is converted to "½".
Math mode might change formatting (fonts), context menus, and other aspects of the input.