wpf-devexpress-dot-xpf-dot-propertygrid-70cccdfa.md
Represents a collection definition.
Namespace : DevExpress.Xpf.PropertyGrid
Assembly : DevExpress.Xpf.PropertyGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PropertyGrid
public class CollectionDefinition :
PropertyDefinition
Public Class CollectionDefinition
Inherits PropertyDefinition
To learn more, see Collection Definitions.
The following code snippets (auto-collected from DevExpress Examples) contain references to the CollectionDefinition class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-propertygrid-add-an-item-to-a-collection-or-a-dictionary/CS/Collections/MainWindow.xaml#L24
<dxprg:CollectionDefinition Path="Suppliers"
NewItemInitializer="{StaticResource xamlInitializer}" >
<DataTemplate x:Key="CollectionDefinitionTemplate">
<dxprg:CollectionDefinition HeaderShowMode="OnlyHeader" AllowRemoveItems="False"/>
</DataTemplate>
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement PropertyDefinitionBase PropertyDefinition CollectionDefinition
See Also