Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

GridView Members

Represents a view mode that displays data items in columns for a ListView control.

The GridView type exposes the following members.

  NameDescription
Public method GridView Initializes a new instance of the GridView class.
Top
  NameDescription
Protected method AddChild Infrastructure. Adds a GridViewColumn object to a GridView.
Protected method AddText Infrastructure. Not supported.
Public method CheckAccess Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Protected method ClearItem Removes all settings, bindings, and styling from a ListViewItem. (Overrides ViewBase.ClearItem(ListViewItem).)
Public method ClearValue Overloaded. Clears the local value of a property.
Public method CoerceValue Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject. (Inherited from DependencyObject.)
Public method Equals Determines whether a provided DependencyObject is equivalent to the current DependencyObject. (Inherited from DependencyObject.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetAutomationPeer Gets the AutomationPeer implementation for this GridView object. (Overrides ViewBase.GetAutomationPeer(ListView).)
Public method Static member GetColumnCollection Gets the contents of the ColumnCollection attached property.
Public method GetHashCode Gets a hash code for this DependencyObject. (Inherited from DependencyObject.)
Public method GetLocalValueEnumerator Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. (Inherited from DependencyObject.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method GetValue Returns the current effective value of a dependency property on this instance of a DependencyObject. (Inherited from DependencyObject.)
Public method InvalidateProperty Re-evaluates the effective value for the specified dependency property (Inherited from DependencyObject.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnPropertyChanged Invoked whenever the effective value of any dependency property on this DependencyObject has been updated. The specific dependency property that changed is reported in the event data. (Inherited from DependencyObject.)
Protected method PrepareItem Prepares a ListViewItem for display according to the definition of this GridView object. (Overrides ViewBase.PrepareItem(ListViewItem).)
Public method ReadLocalValue Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.)
Public method Static member SetColumnCollection Sets the contents of the ColumnCollection attached property.
Public method SetValue Overloaded. Sets the local value of a dependency property.
Public method Static member ShouldSerializeColumnCollection Determines whether to serialize the ColumnCollection attached property.
Protected method ShouldSerializeProperty Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (Inherited from DependencyObject.)
Public method ToString Returns the string representation of the GridView object. (Overrides Object.ToString().)
Public method VerifyAccess Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Top
  NameDescription
Public field Static member AllowsColumnReorderProperty Identifies the AllowsColumnReorder dependency property.
Public field Static member ColumnCollectionProperty Identifies the ColumnCollectionProperty attachedproperty.
Public field Static member ColumnHeaderContainerStyleProperty Identifies the ColumnHeaderContainerStyle dependency property.
Public field Static member ColumnHeaderContextMenuProperty Identifies the ColumnHeaderContextMenu dependency property.
Public field Static member ColumnHeaderStringFormatProperty Identifies the ColumnHeaderStringFormat dependency property.
Public field Static member ColumnHeaderTemplateProperty Identifies the ColumnHeaderTemplate dependency property.
Public field Static member ColumnHeaderTemplateSelectorProperty Identifies the ColumnHeaderTemplateSelector dependency property.
Public field Static member ColumnHeaderToolTipProperty Identifies the ColumnHeaderToolTip dependency property.
Top
  NameDescription
Public property AllowsColumnReorder Gets or sets whether columns in a GridView can be reordered by a drag-and-drop operation. This is a dependency property.
Public property ColumnHeaderContainerStyle Gets or sets the style to apply to column headers. This is a dependency property.
Public property ColumnHeaderContextMenu Gets or sets a ContextMenu for the GridView. This is a dependency property.
Public property ColumnHeaderStringFormat Gets or sets a composite string that specifies how to format the column headers of the GridView if they are displayed as strings.
Public property ColumnHeaderTemplate Gets or sets a template to use to display the column headers. This is a dependency property.
Public property ColumnHeaderTemplateSelector Gets or sets the selector object that provides logic for selecting a template to use for each column header. This is a dependency property.
Public property ColumnHeaderToolTip Gets or sets the content of a tooltip that appears when the mouse pointer pauses over one of the column headers. This is a dependency property.
Public property Columns Gets the collection of GridViewColumn objects that is defined for this GridView.
Protected property DefaultStyleKey Gets the reference for the default style for the GridView. (Overrides ViewBase.DefaultStyleKey.)
Public property DependencyObjectType Gets the DependencyObjectType that wraps the CLR type of this instance. (Inherited from DependencyObject.)
Public property Dispatcher Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)
Public property Static member GridViewItemContainerStyleKey Gets the key that references the style that is defined for each ListViewItem in a GridView.
Public property Static member GridViewScrollViewerStyleKey Gets the key that references the style that is defined for the ScrollViewer control that encloses the content that is displayed by a GridView.
Public property Static member GridViewStyleKey Gets the key that references the style that is defined for the GridView.
Public property IsSealed Gets a value that declares whether this instance is currently read-only. (Inherited from DependencyObject.)
Protected property ItemContainerDefaultStyleKey Gets the reference to the default style for the container of the data items in the GridView. (Overrides ViewBase.ItemContainerDefaultStyleKey.)
Top
  NameDescription
Public attached property ColumnCollection Gets or sets the attached property that contains the GridViewColumnCollection.
Top
  NameDescription
Explicit interface implemetation Private method IAddChild.AddChild Infrastructure. For a description of this member, see IAddChild.AddChild.
Explicit interface implemetation Private method IAddChild.AddText Infrastructure. For a description of this member, see IAddChild.AddText.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.