MenuItem.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 पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.