Share via


RichEditMathMode Enum

Definition

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

MathOnly 1

Input is interpreted as math.

NoMath 0

Input is interpreted as text.

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.

Applies to