---
title: canSelectHiddenExtension
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nssavepanel/canselecthiddenextension
---

# canSelectHiddenExtension

A Boolean value that indicates whether the panel displays UI for hiding or showing filename extensions.

## Declaration

```swift
var canSelectHiddenExtension: Bool { get set }
```

## Discussion

Discussion Set the value of this property before displaying the panel. When the value of this property is true, and the Finder preference “Show all extensions” is false, the panel displays the Hide Extension menu item. The default value of this property is false. Use the isExtensionHidden property to hide or shows extensions.

## See Also

### Configuring the Panel’s Behavior

- [canCreateDirectories](appkit/nssavepanel/cancreatedirectories.md)
- [showsHiddenFiles](appkit/nssavepanel/showshiddenfiles.md)
- [isExtensionHidden](appkit/nssavepanel/isextensionhidden.md)
- [isExpanded](appkit/nssavepanel/isexpanded.md)
- [Button tags](appkit/button-tags.md)
