Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
241 lines (233 sloc) 16.5 KB
<Type Name="GridViewColumnCollection" FullName="System.Windows.Controls.GridViewColumnCollection">
<TypeSignature Language="C#" Value="public class GridViewColumnCollection : System.Collections.ObjectModel.ObservableCollection&lt;System.Windows.Controls.GridViewColumn&gt;" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit GridViewColumnCollection extends System.Collections.ObjectModel.ObservableCollection`1&lt;class System.Windows.Controls.GridViewColumn&gt;" />
<TypeSignature Language="DocId" Value="T:System.Windows.Controls.GridViewColumnCollection" />
<TypeSignature Language="VB.NET" Value="Public Class GridViewColumnCollection&#xA;Inherits ObservableCollection(Of GridViewColumn)" />
<TypeSignature Language="C++ CLI" Value="public ref class GridViewColumnCollection : System::Collections::ObjectModel::ObservableCollection&lt;System::Windows::Controls::GridViewColumn ^&gt;" />
<TypeSignature Language="F#" Value="type GridViewColumnCollection = class&#xA; inherit ObservableCollection&lt;GridViewColumn&gt;" />
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Collections.ObjectModel.ObservableCollection&lt;System.Windows.Controls.GridViewColumn&gt;</BaseTypeName>
<BaseTypeArguments>
<BaseTypeArgument TypeParamName="!0">System.Windows.Controls.GridViewColumn</BaseTypeArgument>
</BaseTypeArguments>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8">
<AttributeName>System.Serializable</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents a collection of <see cref="T:System.Windows.Controls.GridViewColumn" /> objects.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A <xref:System.Windows.Controls.GridViewColumnCollection> object contains a set of <xref:System.Windows.Controls.GridViewColumn> objects that are typically used to define the columns of a <xref:System.Windows.Controls.GridView> object. A <xref:System.Windows.Controls.GridView> is a <xref:System.Windows.Controls.ListView.View%2A> that defines the layout of data in a <xref:System.Windows.Controls.ListView> control.
To receive notification of changes in the collection, monitor the <xref:System.Collections.ObjectModel.ObservableCollection%601.CollectionChanged> event that is inherited from <xref:System.Collections.ObjectModel.ObservableCollection%601>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Controls.GridView" />
<altmember cref="T:System.Windows.Controls.GridViewColumn" />
<altmember cref="T:System.Collections.ObjectModel.ObservableCollection`1" />
<altmember cref="T:System.Windows.Controls.ListView" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public GridViewColumnCollection ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.GridViewColumnCollection.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; GridViewColumnCollection();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes an instance of the <see cref="T:System.Windows.Controls.GridViewColumnCollection" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ClearItems">
<MemberSignature Language="C#" Value="protected override void ClearItems ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void ClearItems() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.GridViewColumnCollection.ClearItems" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub ClearItems ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void ClearItems();" />
<MemberSignature Language="F#" Value="override this.ClearItems : unit -&gt; unit" Usage="gridViewColumnCollection.ClearItems " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Removes all of the <see cref="T:System.Windows.Controls.GridViewColumn" /> objects from the <see cref="T:System.Windows.Controls.GridViewColumnCollection" />.</summary>
<remarks>To be added.</remarks>
<altmember cref="M:System.Windows.Controls.GridViewColumnCollection.RemoveItem(System.Int32)" />
<altmember cref="M:System.Windows.Controls.GridViewColumnCollection.InsertItem(System.Int32,System.Windows.Controls.GridViewColumn)" />
<altmember cref="M:System.Windows.Controls.GridViewColumnCollection.MoveItem(System.Int32,System.Int32)" />
<altmember cref="M:System.Windows.Controls.GridViewColumnCollection.SetItem(System.Int32,System.Windows.Controls.GridViewColumn)" />
</Docs>
</Member>
<Member MemberName="InsertItem">
<MemberSignature Language="C#" Value="protected override void InsertItem (int index, System.Windows.Controls.GridViewColumn column);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void InsertItem(int32 index, class System.Windows.Controls.GridViewColumn column) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.GridViewColumnCollection.InsertItem(System.Int32,System.Windows.Controls.GridViewColumn)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub InsertItem (index As Integer, column As GridViewColumn)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void InsertItem(int index, System::Windows::Controls::GridViewColumn ^ column);" />
<MemberSignature Language="F#" Value="override this.InsertItem : int * System.Windows.Controls.GridViewColumn -&gt; unit" Usage="gridViewColumnCollection.InsertItem (index, column)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="column" Type="System.Windows.Controls.GridViewColumn" />
</Parameters>
<Docs>
<param name="index">The position to place the new <see cref="T:System.Windows.Controls.GridViewColumn" />.</param>
<param name="column">The <see cref="T:System.Windows.Controls.GridViewColumn" /> to insert.</param>
<summary>Adds a <see cref="T:System.Windows.Controls.GridViewColumn" /> to the collection at the specified index.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method creates a new item in the <xref:System.Windows.Controls.GridViewColumnCollection> without replacing another item. To replace an item in the collection with a new item, use the <xref:System.Windows.Controls.GridViewColumnCollection.SetItem%2A> method.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="MoveItem">
<MemberSignature Language="C#" Value="protected override void MoveItem (int oldIndex, int newIndex);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void MoveItem(int32 oldIndex, int32 newIndex) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.GridViewColumnCollection.MoveItem(System.Int32,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub MoveItem (oldIndex As Integer, newIndex As Integer)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void MoveItem(int oldIndex, int newIndex);" />
<MemberSignature Language="F#" Value="override this.MoveItem : int * int -&gt; unit" Usage="gridViewColumnCollection.MoveItem (oldIndex, newIndex)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="oldIndex" Type="System.Int32" />
<Parameter Name="newIndex" Type="System.Int32" />
</Parameters>
<Docs>
<param name="oldIndex">The original position of the <see cref="T:System.Windows.Controls.GridViewColumn" />.</param>
<param name="newIndex">The new position of the <see cref="T:System.Windows.Controls.GridViewColumn" />.</param>
<summary>Changes the position of a <see cref="T:System.Windows.Controls.GridViewColumn" /> in the collection.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OnCollectionChanged">
<MemberSignature Language="C#" Value="protected override void OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnCollectionChanged(class System.Collections.Specialized.NotifyCollectionChangedEventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.GridViewColumnCollection.OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnCollectionChanged (e As NotifyCollectionChangedEventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnCollectionChanged(System::Collections::Specialized::NotifyCollectionChangedEventArgs ^ e);" />
<MemberSignature Language="F#" Value="override this.OnCollectionChanged : System.Collections.Specialized.NotifyCollectionChangedEventArgs -&gt; unit" Usage="gridViewColumnCollection.OnCollectionChanged e" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="System.Collections.Specialized.NotifyCollectionChangedEventArgs" />
</Parameters>
<Docs>
<param name="e">The event arguments.</param>
<summary>Raises the <see cref="E:System.Collections.ObjectModel.ObservableCollection`1.CollectionChanged" /> event when the <see cref="T:System.Windows.Controls.GridViewColumnCollection" /> changes.</summary>
<remarks>To be added.</remarks>
<altmember cref="E:System.Collections.ObjectModel.ObservableCollection`1.CollectionChanged" />
</Docs>
</Member>
<Member MemberName="RemoveItem">
<MemberSignature Language="C#" Value="protected override void RemoveItem (int index);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void RemoveItem(int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.GridViewColumnCollection.RemoveItem(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub RemoveItem (index As Integer)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void RemoveItem(int index);" />
<MemberSignature Language="F#" Value="override this.RemoveItem : int -&gt; unit" Usage="gridViewColumnCollection.RemoveItem index" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">The position of the <see cref="T:System.Windows.Controls.GridViewColumn" /> to remove.</param>
<summary>Removes a <see cref="T:System.Windows.Controls.GridViewColumn" /> from the <see cref="T:System.Windows.Controls.GridViewColumnCollection" /> at the specified index.</summary>
<remarks>To be added.</remarks>
<altmember cref="M:System.Windows.Controls.GridViewColumnCollection.InsertItem(System.Int32,System.Windows.Controls.GridViewColumn)" />
<altmember cref="M:System.Windows.Controls.GridViewColumnCollection.MoveItem(System.Int32,System.Int32)" />
<altmember cref="M:System.Windows.Controls.GridViewColumnCollection.SetItem(System.Int32,System.Windows.Controls.GridViewColumn)" />
</Docs>
</Member>
<Member MemberName="SetItem">
<MemberSignature Language="C#" Value="protected override void SetItem (int index, System.Windows.Controls.GridViewColumn column);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void SetItem(int32 index, class System.Windows.Controls.GridViewColumn column) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.GridViewColumnCollection.SetItem(System.Int32,System.Windows.Controls.GridViewColumn)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub SetItem (index As Integer, column As GridViewColumn)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void SetItem(int index, System::Windows::Controls::GridViewColumn ^ column);" />
<MemberSignature Language="F#" Value="override this.SetItem : int * System.Windows.Controls.GridViewColumn -&gt; unit" Usage="gridViewColumnCollection.SetItem (index, column)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="column" Type="System.Windows.Controls.GridViewColumn" />
</Parameters>
<Docs>
<param name="index">The position at which the new <see cref="T:System.Windows.Controls.GridViewColumn" /> replaces the old <see cref="T:System.Windows.Controls.GridViewColumn" />.</param>
<param name="column">The <see cref="T:System.Windows.Controls.GridViewColumn" /> to place at the specified position.</param>
<summary>Replaces the <see cref="T:System.Windows.Controls.GridViewColumn" /> that is at the specified index with another <see cref="T:System.Windows.Controls.GridViewColumn" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method replaces a column in the <xref:System.Windows.Controls.GridViewColumnCollection> with a new column. To insert a new column without replacing another column, use the <xref:System.Windows.Controls.GridViewColumnCollection.InsertItem%2A> method.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.GridViewColumnCollection.InsertItem(System.Int32,System.Windows.Controls.GridViewColumn)" />
<altmember cref="M:System.Windows.Controls.GridViewColumnCollection.MoveItem(System.Int32,System.Int32)" />
<altmember cref="M:System.Windows.Controls.GridViewColumnCollection.RemoveItem(System.Int32)" />
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.