編輯

共用方式為


NSControlCharacterAction Enum

Definition

An enumeration whose values specify actions caused by control characters.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum NSControlCharacterAction
type NSControlCharacterAction = 
Inheritance
NSControlCharacterAction
Attributes

Fields

Name Value Description
ZeroAdvancementAction 1

Glyphs with this action are filtered from the layout.

WhitespaceAction 2

Uses M:UIKit.NSLayoutManager.BoundingBoxForGlyphRange* or, if not overridden, ZeroAdvancementAction.

HorizontalTabAction 4

Treated as a tab character.

LineBreakAction 8

Causes a line break.

ParagraphBreakAction 16

Causes a paragraph break.

ContainerBreakAction 32

Causes container break.

Applies to

See also

  • <xref:UIKit.NSLayoutManagerDelegate.ShouldUseAction>