Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.DataGrid.Toolkit Assembly / Xceed.Wpf.DataGrid Namespace / ColumnCollection Class
Members


In This Topic
    ColumnCollection Class
    In This Topic
    Represents a dynamic column collection that provides notifications when items are added, removed, or when the whole collection is refreshed.
    Object Model
    ColumnCollection ClassColumnBase Class
    Syntax
    'Declaration
     
    <DefaultMemberAttribute("Item")>
    <DebuggerTypeProxyAttribute(System.Collections.Generic.Mscorlib_CollectionDebugView`1)>
    <DebuggerDisplayAttribute("Count = {Count}")>
    Public Class ColumnCollection 
       Inherits ObservableColumnCollection
    'Usage
     
    Dim instance As ColumnCollection
    [DefaultMember("Item")]
    [DebuggerTypeProxy(System.Collections.Generic.Mscorlib_CollectionDebugView`1)]
    [DebuggerDisplay("Count = {Count}")]
    public class ColumnCollection : ObservableColumnCollection 
    Inheritance Hierarchy
    Public Properties
     NameDescription
    Public Property (Inherited from System.Collections.ObjectModel.Collection<T>)
    Public PropertyOverloaded. Retrieves the column with the specified field name from the collection. (Inherited from Xceed.Wpf.DataGrid.ObservableColumnCollection)
    Public PropertyGets or sets a grid's main (primary) column.  
    Top
    Protected Properties
     NameDescription
    Protected Property (Inherited from System.Collections.ObjectModel.Collection<T>)
    Top
    Public Methods
    Protected Methods
     NameDescription
    Protected Method (Inherited from System.Collections.ObjectModel.ObservableCollection<ColumnBase>)
    Protected Method (Inherited from System.Collections.ObjectModel.ObservableCollection<ColumnBase>)
    Protected MethodRemoves all items from the collection. (Inherited from Xceed.Wpf.DataGrid.ObservableColumnCollection)
    Protected MethodInserts a column at the specified index. (Inherited from Xceed.Wpf.DataGrid.ObservableColumnCollection)
    Protected Method (Inherited from System.Collections.ObjectModel.ObservableCollection<ColumnBase>)
    Protected MethodRaises the CollectionChanged event. (Inherited from Xceed.Wpf.DataGrid.ObservableColumnCollection)
    Protected MethodOverridden.   
    Protected MethodOverridden.   
    Protected MethodOverridden.   
    Protected MethodOverridden.   
    Protected Method (Inherited from Xceed.Wpf.DataGrid.ObservableColumnCollection)
    Protected MethodRemoves the column at the specified index. (Inherited from Xceed.Wpf.DataGrid.ObservableColumnCollection)
    Protected MethodReplaces an existing column with the specified column. (Inherited from Xceed.Wpf.DataGrid.ObservableColumnCollection)
    Top
    Public Events
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also