This sample demonstrates how you can hide the bezier handles using two custom styles.