Is there a control, for example System.Windows.Controls.GroupBox , that can hide its content and only show the name and extension button?
System.Windows.Controls.GroupBox
Check Expander .