MenuBase.ItemContainerTemplateSelector Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the custom logic for choosing a template used to display each item.
public:
property System::Windows::Controls::ItemContainerTemplateSelector ^ ItemContainerTemplateSelector { System::Windows::Controls::ItemContainerTemplateSelector ^ get(); void set(System::Windows::Controls::ItemContainerTemplateSelector ^ value); };
public System.Windows.Controls.ItemContainerTemplateSelector ItemContainerTemplateSelector { get; set; }
member this.ItemContainerTemplateSelector : System.Windows.Controls.ItemContainerTemplateSelector with get, set
Public Property ItemContainerTemplateSelector As ItemContainerTemplateSelector
Property Value
A custom object that provides logic and returns an item container.
Remarks
Use an ItemContainerTemplateSelector to choose different item containers if the items in your collection are the same type and you need to provide custom logic to choose the item container.
Dependency Property Information
Identifier field | ItemContainerTemplateSelectorProperty |
Metadata properties set to true |
None |
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.