In This Article

DataGridBoundColumnBase Class

Represents a base class for data-bound columns for use in a DataGrid.

public abstract class DataGridBoundColumnBase : DataGridBoundColumn
Inheritance:
object DataGridColumn DataGridBoundColumn object
Derived:
DataGridMaskedStringColumn DataGridPartEditBoxColumnBase<T>

Constructors

DataGridBoundColumnBase()

Initializes an instance of the class.

protected DataGridBoundColumnBase()

Methods

ApplyBinding(FrameworkElement, DependencyProperty)

Associates the binding expression, defined by the Binding property, with the specified target property.

protected void ApplyBinding(FrameworkElement targetElement, DependencyProperty targetProperty)
Parameter Type Description
targetElement FrameworkElement

The target element.

targetProperty DependencyProperty

The target property.

ApplyValue(DependencyProperty, FrameworkElement, DependencyProperty)

Sets the value of the specified target object and property, based on the specified source property.

protected virtual void ApplyValue(DependencyProperty sourceProperty, FrameworkElement targetElement, DependencyProperty targetProperty)
Parameter Type Description
sourceProperty DependencyProperty

The source property.

targetElement FrameworkElement

The target element.

targetProperty DependencyProperty

The target property.

RefreshCellContent(FrameworkElement, string)

Refreshes the contents of a cell in the column in response to a column property value change.

protected override void RefreshCellContent(FrameworkElement element, string propertyName)
Parameter Type Description
element FrameworkElement

The element returned by the Content property of the cell to refresh.

propertyName string

The name of the column property that has changed.