We have Templates, Control Templates and Data Templates for WPF controls. I don’t know if there exists any more types (please let me know if any). But, when to use what?
We have Templates, Control Templates and Data Templates for WPF controls. I don’t know
Share
Look at the
FrameworkTemplatederived types:ControlTemplate– Specifies the visual structure and behavioral aspects of aControlthat can be shared across multiple instances of the control.;DataTemplate– Describes the visual structure of a data object;ItemsPanelTemplate– Specifies the panel that theItemsPresentercreates for the layout of the items of anItemsControl.P.S.: As you can see there is no just “Template” 🙂