Xojo.IO.FolderItem.IsExtensionVisible

From Xojo Documentation

Read-Only Property (As Boolean )
BooleanValue = aXojo.IO.FolderItem.IsExtensionVisible

Supported for all project types and targets.

Tells you whether the file should have its extension visible or hidden based on the user's OS settings.