DataGridTemplateColumn Methods


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

System_CAPS_protmethodCancelCellEdit(FrameworkElement, Object)

Causes the cell being edited to revert to the original, unedited value.(Inherited from DataGridColumn.)


Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)


Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier. (Inherited from DependencyObject.)


Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey. (Inherited from DependencyObject.)


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.)


Performs any required validation before exiting cell editing mode.(Inherited from DataGridColumn.)


Determines whether a provided DependencyObject is equivalent to the current DependencyObject.(Inherited from DependencyObject.)


Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_protmethodGenerateEditingElement(DataGridCell, Object)

Gets an element defined by the CellEditingTemplate that is bound to the column's Binding property value.(Overrides DataGridColumn.GenerateEditingElement(DataGridCell, Object).)

System_CAPS_protmethodGenerateElement(DataGridCell, Object)

Gets an element defined by the CellTemplate that is bound to the column's Binding property value.(Overrides DataGridColumn.GenerateElement(DataGridCell, Object).)


Retrieves the Content property value for the cell at the intersection of this column and the specified row.(Inherited from DataGridColumn.)


Gets the Content property value for the cell at the intersection of this column and the row that represents the specified data item.(Inherited from DataGridColumn.)


Gets a hash code for this DependencyObject.(Inherited from DependencyObject.)


Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. (Inherited from DependencyObject.)


Gets the Type of the current instance.(Inherited from Object.)


Returns the current effective value of a dependency property on this instance of a DependencyObject. (Inherited from DependencyObject.)


Re-evaluates the effective value for the specified dependency property(Inherited from DependencyObject.)


Creates a shallow copy of the current Object.(Inherited from Object.)


Notifies the DataGrid that contains this column that a column property has changed.(Inherited from DataGridColumn.)


Determines the value of the IsReadOnly property based on the property rules of the DataGrid that contains this column.(Inherited from DataGridColumn.)


Raises the CopyingCellClipboardContent event.(Inherited from DataGridColumn.)

System_CAPS_pubmethodOnPastingCellClipboardContent(Object, Object)

Raises the PastingCellClipboardContent event.(Inherited from DataGridColumn.)


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.)

System_CAPS_protmethodPrepareCellForEdit(FrameworkElement, RoutedEventArgs)

When overridden in a derived class, sets cell content as needed for editing.(Inherited from DataGridColumn.)


Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.)

System_CAPS_protmethodRefreshCellContent(FrameworkElement, String)

Refreshes the contents of a cell in the column in response to a template property value change.(Overrides DataGridColumn.RefreshCellContent(FrameworkElement, String).)

System_CAPS_pubmethodSetCurrentValue(DependencyProperty, Object)

Sets the value of a dependency property without changing its value source. (Inherited from DependencyObject.)

System_CAPS_pubmethodSetValue(DependencyProperty, Object)

Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from DependencyObject.)

System_CAPS_pubmethodSetValue(DependencyPropertyKey, Object)

Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property. (Inherited from DependencyObject.)


Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.(Inherited from DependencyObject.)


Returns a string that represents the current object.(Inherited from Object.)


Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

Return to top