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 following tables list the members exposed by the GridView type.

  Name Description
Public method GridView Initializes an instance of the GridView class.
Top
  Name Description
Public field Static AllowsColumnReorderProperty Identifies the AllowsColumnReorder dependency property.
Public field Static ColumnCollectionProperty Identifies the ColumnCollectionProperty attachedproperty.
Public field Static ColumnHeaderContainerStyleProperty Identifies the ColumnHeaderContainerStyle dependency property.
Public field Static ColumnHeaderContextMenuProperty Identifies the ColumnHeaderContextMenu dependency property.
Public field Static ColumnHeaderTemplateProperty Identifies the ColumnHeaderTemplate dependency property.
Public field Static ColumnHeaderTemplateSelectorProperty Identifies the ColumnHeaderTemplateSelector dependency property.
Public field Static ColumnHeaderToolTipProperty Identifies the ColumnHeaderToolTip dependency property.
Top
  Name Description
Public property ColumnCollection Gets or sets the attached property that contains the GridViewColumnCollection.
Top
(see also Protected Properties )
  Name Description
Public property AllowsColumnReorder Gets or sets whether columns in a GridView can be reordered by a drag-and-drop operation.
Public property ColumnHeaderContainerStyle Gets or sets the style to apply to column headers.
Public property ColumnHeaderContextMenu Gets or sets a ContextMenu for the GridView.
Public property ColumnHeaderTemplate Gets or sets a template to use to display the column headers.
Public property ColumnHeaderTemplateSelector Gets or sets the selector object that provides logic for selecting a template to use for each column header.
Public property ColumnHeaderToolTip Gets or sets the content of a tooltip that appears when the mouse pointer pauses over one of the column headers.
Public property Columns Gets the collection of GridViewColumn objects that is defined for this GridView.
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 GridViewItemContainerStyleKey Gets the key that references the style that is defined for cells in column of a GridView.
Public property Static 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 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)
Top
  Name Description
Protected property DefaultStyleKey Overridden. Gets the reference for the default style for the GridView.
Protected property ItemContainerDefaultStyleKey Overridden. Gets the reference to the default style for the container of the data items in the GridView.
Top
(see also Protected Methods )
  Name Description
Public method CheckAccess  Determines whether the calling thread has access to this DispatcherObject. (inherited from DispatcherObject)
Public method ClearValue  Overloaded. Clears the local value of a property. (inherited from DependencyObject)
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 property on this type. (inherited from DependencyObject)
Public method Equals  Overloaded. Determines whether a provided DependencyObject is equivalent to the current DependencyObject. (inherited from DependencyObject)
Public method Static 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)
Public method ReadLocalValue  Returns the local value of a dependency property, if it exists. (inherited from DependencyObject)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static SetColumnCollection Sets the contents of the ColumnCollection attached property.
Public method SetValue  Overloaded. Sets the local value of a dependency property. (inherited from DependencyObject)
Public method Static ShouldSerializeColumnCollection Determines whether to serialize the ColumnCollection attached property.
Public method ToString Overridden. Returns the string representation of the GridView object.
Public method VerifyAccess  Enforces that the calling thread has access to this DispatcherObject. (inherited from DispatcherObject)
Top
  Name Description
Protected method AddChild This member supports the WPF infrastructure and is not intended to be used directly from your code.
Protected method AddText This member supports the WPF infrastructure and is not intended to be used directly from your code.
Protected method ClearItem Overridden. Removes all settings, bindings, and styling from a ListViewItem.
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method GetAutomationPeer Overridden. Gets the AutomationPeer implementation for this GridView object.
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 Overridden. Prepares a ListViewItem for display according to the definition of this GridView object.
Protected method ShouldSerializeProperty  Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (inherited from DependencyObject)
Top
  Name Description
Explicit interface implementation Method System.Windows.Markup.IAddChild.AddChild This member supports the WPF infrastructure and is not intended to be used directly from your code.
Explicit interface implementation Method System.Windows.Markup.IAddChild.AddText This member supports the WPF infrastructure and is not intended to be used directly from your code.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.