<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/mode-masks",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Mode Masks"
}
-->

# Mode Masks

Constants that represent the available font panel mode masks.

## Discussion

The <doc://com.apple.documentation/documentation/ObjectiveC/NSObject-swift.class/validModesForFontPanel:> method returns these constants.

## Topics

### Constants

[`var NSFontPanelFaceModeMask: UInt32`](/documentation/AppKit/NSFontPanelFaceModeMask)

Display the typeface column.

[`var NSFontPanelSizeModeMask: UInt32`](/documentation/AppKit/NSFontPanelSizeModeMask)

Display the font size column.

[`var NSFontPanelCollectionModeMask: UInt32`](/documentation/AppKit/NSFontPanelCollectionModeMask)

Display the font collections column.

[`var NSFontPanelUnderlineEffectModeMask: UInt32`](/documentation/AppKit/NSFontPanelUnderlineEffectModeMask)

Display the underline popup menu.

[`var NSFontPanelStrikethroughEffectModeMask: UInt32`](/documentation/AppKit/NSFontPanelStrikethroughEffectModeMask)

Display the strike-through popup menu.

[`var NSFontPanelTextColorEffectModeMask: UInt32`](/documentation/AppKit/NSFontPanelTextColorEffectModeMask)

Display the text color button.

[`var NSFontPanelDocumentColorEffectModeMask: UInt32`](/documentation/AppKit/NSFontPanelDocumentColorEffectModeMask)

Display the document color button.

[`var NSFontPanelShadowEffectModeMask: UInt32`](/documentation/AppKit/NSFontPanelShadowEffectModeMask)

Display the shadow effects button.

[`var NSFontPanelAllEffectsModeMask: UInt32`](/documentation/AppKit/NSFontPanelAllEffectsModeMask)

Display all the effects user interface items.

[`var NSFontPanelStandardModesMask: UInt32`](/documentation/AppKit/NSFontPanelStandardModesMask)

Display the standard default font panel—that is, including the collections, typeface, and size columns.

[`var NSFontPanelAllModesMask: UInt32`](/documentation/AppKit/NSFontPanelAllModesMask)

Display all the available adornments.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)