Dela via


FormatEffect Enum

Definition

Defines values that indicate the state of a character or paragraph formatting property.

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

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Off 0

Turns off the property.

On 1

Turns on the property.

Toggle 2

Toggles the current setting.

Undefined 3

No change.

Applies to

See also