RichEditMathMode Enum

Definition

Defines constants that specify whether a RichEditBox interprets input as math (MathML) or text.

Important

The math mode APIs are a limited access feature. Please contact richeditmathml@microsoft.com for more info, or to request an unlock token.

public enum class RichEditMathMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
enum class RichEditMathMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
public enum RichEditMathMode
var value = Windows.UI.Text.RichEditMathMode.noMath
Public Enum RichEditMathMode
Inheritance
RichEditMathMode
Attributes

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

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

See also