Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / ObservableColumnCollection Class
Members


In This Topic
    ObservableColumnCollection Class
    In This Topic
    Represents a list of child columns for a MergedColumn.
    Object Model
    ObservableColumnCollection ClassColumnBase Class
    Syntax
    'Declaration
     
    <DefaultMemberAttribute("Item")>
    <DebuggerTypeProxyAttribute(System.Collections.Generic.Mscorlib_CollectionDebugView`1)>
    <DebuggerDisplayAttribute("Count = {Count}")>
    Public Class ObservableColumnCollection 
       Inherits Xceed.Wpf.DataGrid.ContentElementCollection(Of ColumnBase)
    'Usage
     
    Dim instance As ObservableColumnCollection
    [DefaultMember("Item")]
    [DebuggerTypeProxy(System.Collections.Generic.Mscorlib_CollectionDebugView`1)]
    [DebuggerDisplay("Count = {Count}")]
    public class ObservableColumnCollection : Xceed.Wpf.DataGrid.ContentElementCollection<ColumnBase> 
    Inheritance Hierarchy

    System.Object
       System.Collections.ObjectModel.Collection<T>
          Xceed.Wpf.DataGrid.ContentElementCollection<T>
             Xceed.Wpf.DataGrid.ObservableColumnCollection
                Xceed.Wpf.DataGrid.ColumnCollection

    Public Constructors
    Public Properties
     NameDescription
    Public Property (Inherited from System.Collections.ObjectModel.Collection<T>)
    Public PropertyOverloaded.   
    Top
    Protected Properties
     NameDescription
    Protected Property (Inherited from System.Collections.ObjectModel.Collection<T>)
    Top
    Public Methods
    Protected Methods
     NameDescription
    Protected MethodOverridden. Clears the items from the collection.  
    Protected MethodOverridden. Inserts an item in the collection.  
    Protected MethodMoves an item in the collection. (Inherited from Xceed.Wpf.DataGrid.ContentElementCollection<ColumnBase>)
    Protected MethodRaises the CollectionChanged event using the specified NotifyCollectionChangedEventArgs. (Inherited from Xceed.Wpf.DataGrid.ContentElementCollection<ColumnBase>)
    Protected MethodCalled when a column is added to the collection. (Inherited from Xceed.Wpf.DataGrid.ContentElementCollection<ColumnBase>)
    Protected MethodOverridden. Called when a column is about to be added to the collection.  
    Protected MethodCalled when a column has been removed the collection. (Inherited from Xceed.Wpf.DataGrid.ContentElementCollection<ColumnBase>)
    Protected MethodOverridden. Called when a column is about to be removed the collection.  
    Protected MethodRaises the PropertyChanged event using the specified PropertyChangedEventArgs. (Inherited from Xceed.Wpf.DataGrid.ContentElementCollection<ColumnBase>)
    Protected Method  
    Protected MethodRemoves the column at the specified index. (Inherited from Xceed.Wpf.DataGrid.ContentElementCollection<ColumnBase>)
    Protected MethodOverridden. Inserts the column at the specified index.  
    Top
    Public Events
     NameDescription
    Public EventRaised when a change occurs in the collection. (Inherited from Xceed.Wpf.DataGrid.ContentElementCollection<ColumnBase>)
    Public EventRaised when the value of a property is changed. (Inherited from Xceed.Wpf.DataGrid.ContentElementCollection<ColumnBase>)
    Top
    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