Back to API Reference
Class

SemanticModifier

Inherits:BaseModifier

Publishes platform-neutral meaning, spoken text, states, actions and final bounds for range entities. Native accessibility integrations consume For instead of being named or invoked by this modifier.

public string Label{ get; set }

Accessible name; empty may derive from covered text.

public string Value{ get; set }

Current represented value.

public string Hint{ get; set }

Additional usage guidance.

public string Language{ get; set }

BCP 47 language tag, or empty to inherit.

public TextSemanticRole Role{ get; set }

Platform-neutral meaning of the entity.

public TextSemanticStates States{ get; set }

Authored semantic states.

public TextSemanticActions Actions{ get; set }

Actions exposed to accessibility and project adapters.

public int Priority{ get; set }

Explicit conflict priority for duplicate semantic descriptions.

public bool DeriveLabelFromText{ get; set }

Whether empty labels derive from covered rendered text.

public RangeChannel Channel{ get; set }

Explicit semantic channel, or null to inherit the source channel.

public RangePayloadStringBinding LabelBinding{ get; set }

Optional payload member used as the accessible name.

public RangePayloadStringBinding ValueBinding{ get; set }

Optional payload member used as the represented value.

public RangePayloadStringBinding HintBinding{ get; set }

Optional payload member used as additional guidance.

public RangePayloadStringBinding LanguageBinding{ get; set }

Optional payload member used as the BCP 47 language tag.

protected override void OnEnable()
protected override void OnDisable()
protected override void OnDestroy()
protected override void BeforeApply()
protected override void OnApply()