GridView Class
Represents a view mode that displays data items in columns for a ListView control.
http://msdn.microsoft.com/en-us/library/system.windows.controls.gridview.aspx
Methods
From BaseView
Name | Description |
---|---|
ClearItem | Removes all bindings and styling that are set for an item |
PrepareItem | Prepares an item in the view for display, by setting bindings and styles |
From DependencyObject
Name | Description |
---|---|
ClearAnimation | Clears the animation value of a property |
ClearAnimation | Clears the animation value of a property |
ClearLocalValue | Clears the local value of a property The property to be cleared is specified by a DependencyProperty identifier |
CoerceValue | Coerces and validates the effective property value |
CoerceValue | Coerces and validates the effective property value |
DependencyPropertyChanged | Returns the PropertyChanged event |
GetBaseValue | Returns the base value without animation nor coerce (this never returns IExpression like GetLocalValue) |
GetLocalValue | Returns the local value of a dependency property, if it exists. |
GetValue | Returns the current effective value of a dependency property on this instance of a DependencyObject |
GetValueObject | Returns the current effective value of a dependency property on this instance of a DependencyObject as a boxed value |
GetValueProvider | Gets the provider that returns the effective value for the specified dependency property |
HasAnimatedProperties | Returns true if there is any animated property |
InvalidateProperty | Re-evaluates the effective value for the specified dependency property if necessary If null is passed, a full re-evaluation could be needed |
IsCached | Returns if the value is stored in the cache. If true, the priority is returned in the provider field |
SetAnimation | Sets the animated value of a property |
SetCurrentValue | Sets the current value of a dependency property. The current value is set on the coerce field, without modifying source or animated value |
SetCurrentValueObject | Sets the current value of a dependency property using a boxed value |
SetExpression | Sets the expression to be evaluated dynamically to obtain the value of the property |
SetValue | Sets the local value of a dependency property |
SetValueObject | Sets the local value of a dependency property using a boxed value |
Properties
From GridView
Name | Description | |
---|---|---|
![]() |
AllowsColumnReorder | Gets or sets whether columns in a GridView can be reordered by a drag-and-drop operation |
![]() |
ColumnHeaderContainerStyle | Gets or sets the style to apply to column headers |
![]() |
ColumnHeaderContextMenu | Gets or sets a ContextMenu for the GridView |
![]() |
ColumnHeaderStringFormat | Gets or sets a composite string that specifies how to format the column headers of the GridView if they are displayed as strings |
![]() |
ColumnHeaderTemplate | Gets or sets a template to use to display the column headers |
![]() |
ColumnHeaderTemplateSelector | Gets or sets the selector object that provides logic for selecting a template to use for each column header |
![]() |
ColumnHeaderToolTip | Gets or sets the content of a tooltip that appears when the mouse pointer pauses over one of the column headers |
![]() |
Columns | Gets the collection of GridViewColumn objects that is defined for this GridView |


Events
GridView has no events