x:Name can be used on object elements that do not have Name properties of their own.
You can only use Name on an element that represents an object that actually does have a Name property.
For example anything that derives from FrameworkElement.