The USB Type-C port on your device must support DP Alt mode (DisplayPort Alternative Mode on USB-C).
USB Type-C refers to the connector type, not the capability of the port itself, and please note that not all USB Type-C ports support video output (Video over USB Type-C).
USB Type-C ports with any of the following symbols nearby will be able to support DP Alt mode. For devices that do not label their type-c specification, you may need to refer to your device manual or contact the manufacturer.
DP Alt mode official symbol.
Thunderbolt, USB-C port labeled with thunderbolt symbol will also support DP Alt mode.