Show / Hide Table of Contents

Class DataGrid

Displays data in a customizable grid.

Inheritance
System.Object
DependencyObject
UIElement
FrameworkElement
Control
DataGrid
Inherited Members
Control.EnableBaseControlHandlingOfVisualStates
Control.ManageIsEnabled(Boolean)
Control.Background
Control.BackgroundProperty
Control.BorderBrush
Control.BorderBrushProperty
Control.BorderThickness
Control.BorderThicknessProperty
Control.FontWeight
Control.FontWeightProperty
Control.FontStyle
Control.FontStyleProperty
Control.Foreground
Control.ForegroundProperty
Control.FontFamily
Control.FontFamilyProperty
Control.FontSize
Control.FontSizeProperty
Control.TextDecorations
Control.TextDecorationsProperty
Control.Padding
Control.PaddingProperty
Control.HorizontalContentAlignment
Control.HorizontalContentAlignmentProperty
Control.VerticalContentAlignment
Control.VerticalContentAlignmentProperty
Control.TabIndex
Control.TabIndexProperty
Control.IsTabStop
Control.IsTabStopProperty
Control.TabNavigation
Control.TabNavigationProperty
Control.Template
Control.TemplateProperty
Control.ApplyTemplate()
Control.GetTemplateChild(String)
Control.Focus()
Control.HandlesScrolling
Control.OnGotFocus(RoutedEventArgs)
Control.OnLostFocus(RoutedEventArgs)
Control.CreateDomElement(Object, Object)
Control.CharacterSpacingProperty
Control.CharacterSpacing
Control.FontStretchProperty
Control.FontStretch
Control.OnDrop(DragEventArgs)
Control.OnDragEnter(DragEventArgs)
Control.OnDragLeave(DragEventArgs)
Control.OnTextInputUpdate(TextCompositionEventArgs)
FrameworkElement.LayoutUpdated
FrameworkElement.SizeChanged
FrameworkElement.ResourceLookupMode
FrameworkElement.StyleProperty
FrameworkElement.Style
FrameworkElement.DefaultStyleKeyProperty
FrameworkElement.DefaultStyleKey
FrameworkElement.OverridesDefaultStyleProperty
FrameworkElement.OverridesDefaultStyle
FrameworkElement.OnVisualParentChanged(DependencyObject)
FrameworkElement.VisualChildrenCount
FrameworkElement.GetVisualChild(Int32)
FrameworkElement.Parent
FrameworkElement.AddLogicalChild(Object)
FrameworkElement.RemoveLogicalChild(Object)
FrameworkElement.LogicalChildren
FrameworkElement.TemplatedParent
FrameworkElement.Resources
FrameworkElement.IsLoaded
FrameworkElement.SetBinding(DependencyProperty, BindingBase)
FrameworkElement.SetBinding(DependencyProperty, Binding)
FrameworkElement.GetBindingExpression(DependencyProperty)
FrameworkElement.Cursor
FrameworkElement.CursorProperty
FrameworkElement.FindName(String)
FrameworkElement.Name
FrameworkElement.NameProperty
FrameworkElement.DataContext
FrameworkElement.DataContextProperty
FrameworkElement.DataContextChanged
FrameworkElement.Triggers
FrameworkElement.FlowDirectionProperty
FrameworkElement.FlowDirection
FrameworkElement.LanguageProperty
FrameworkElement.Language
FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs)
FrameworkElement.Tag
FrameworkElement.TagProperty
FrameworkElement.LoadedEvent
FrameworkElement.Loaded
FrameworkElement.Unloaded
FrameworkElement.BindingValidationError
FrameworkElement.ContextMenuProperty
FrameworkElement.ContextMenu
FrameworkElement.ContextMenuOpening
FrameworkElement.ToolTipProperty
FrameworkElement.ToolTip
FrameworkElement.INTERNAL_OnDetachedFromVisualTree()
FrameworkElement.INTERNAL_OnAttachedToVisualTree()
FrameworkElement.Height
FrameworkElement.HeightProperty
FrameworkElement.Width
FrameworkElement.WidthProperty
FrameworkElement.HorizontalAlignment
FrameworkElement.HorizontalAlignmentProperty
FrameworkElement.VerticalAlignment
FrameworkElement.VerticalAlignmentProperty
FrameworkElement.Margin
FrameworkElement.MarginProperty
FrameworkElement.MinHeight
FrameworkElement.MinHeightProperty
FrameworkElement.MinWidth
FrameworkElement.MinWidthProperty
FrameworkElement.MaxHeight
FrameworkElement.MaxHeightProperty
FrameworkElement.MaxWidth
FrameworkElement.MaxWidthProperty
FrameworkElement.ActualWidthProperty
FrameworkElement.ActualWidth
FrameworkElement.ActualHeightProperty
FrameworkElement.ActualHeight
UIElement.TransformToVisual(UIElement)
UIElement.RenderSize
UIElement.DesiredSize
UIElement.InvalidateMeasure()
UIElement.InvalidateArrange()
UIElement.Measure(Size)
UIElement.Arrange(Rect)
UIElement.UpdateLayout()
UIElement.DragEnter
UIElement.DragLeave
UIElement.Drop
UIElement.DragOver
UIElement.CacheMode
UIElement.CacheModeProperty
UIElement.Projection
UIElement.ProjectionProperty
UIElement.VisualParent
UIElement.AddVisualChild(UIElement)
UIElement.RemoveVisualChild(UIElement)
UIElement.OnVisualChildrenChanged(DependencyObject, DependencyObject)
UIElement.XamlSourcePath
UIElement.ClipToBounds
UIElement.ClipToBoundsProperty
UIElement.ClipProperty
UIElement.Clip
UIElement.IsEnabledProperty
UIElement.IsEnabled
UIElement.IsEnabledChanged
UIElement.EffectProperty
UIElement.Effect
UIElement.RenderTransformProperty
UIElement.RenderTransform
UIElement.RenderTransformOriginProperty
UIElement.RenderTransformOrigin
UIElement.UseLayoutRounding
UIElement.UseLayoutRoundingProperty
UIElement.Visibility
UIElement.VisibilityProperty
UIElement.IsVisibleProperty
UIElement.IsVisible
UIElement.IsVisibleChanged
UIElement.OpacityProperty
UIElement.Opacity
UIElement.OpacityMaskProperty
UIElement.OpacityMask
UIElement.IsHitTestVisible
UIElement.IsHitTestVisibleProperty
UIElement.AllowDrop
UIElement.AllowDropProperty
UIElement.CaptureMouse()
UIElement.IsMouseCaptured
UIElement.ReleaseMouseCapture()
UIElement.AllowScrollOnTouchMove
UIElement.AllowScrollOnTouchMoveProperty
UIElement.AddHandler(RoutedEvent, Delegate, Boolean)
UIElement.RemoveHandler(RoutedEvent, Delegate)
UIElement.MouseMoveEvent
UIElement.MouseMove
UIElement.OnMouseMove(MouseEventArgs)
UIElement.MouseLeftButtonDownEvent
UIElement.MouseLeftButtonDown
UIElement.OnMouseLeftButtonDown(MouseButtonEventArgs)
UIElement.MouseRightButtonDownEvent
UIElement.MouseRightButtonDown
UIElement.OnMouseRightButtonDown(MouseButtonEventArgs)
UIElement.MouseWheelEvent
UIElement.MouseWheel
UIElement.MouseLeftButtonUpEvent
UIElement.MouseLeftButtonUp
UIElement.OnMouseLeftButtonUp(MouseButtonEventArgs)
UIElement.MouseEnterEvent
UIElement.MouseEnter
UIElement.OnMouseEnter(MouseEventArgs)
UIElement.MouseLeaveEvent
UIElement.MouseLeave
UIElement.OnMouseLeave(MouseEventArgs)
UIElement.TextInputStartEvent
UIElement.TextInputStart
UIElement.OnTextInputStart(TextCompositionEventArgs)
UIElement.TextInputEvent
UIElement.TextInput
UIElement.OnTextInput(TextCompositionEventArgs)
UIElement.TextInputUpdateEvent
UIElement.TextInputUpdate
UIElement.TappedEvent
UIElement.Tapped
UIElement.OnTapped(TappedRoutedEventArgs)
UIElement.MouseRightButtonUpEvent
UIElement.MouseRightButtonUp
UIElement.OnMouseRightButtonUp(MouseButtonEventArgs)
UIElement.KeyDownEvent
UIElement.KeyDown
UIElement.OnKeyDown(KeyEventArgs)
UIElement.KeyUpEvent
UIElement.KeyUp
UIElement.OnKeyUp(KeyEventArgs)
UIElement.GotFocusEvent
UIElement.GotFocus
UIElement.LostFocusEvent
UIElement.LostFocus
UIElement.LostMouseCapture
UIElement.OnLostMouseCapture(MouseEventArgs)
UIElement.INTERNAL_AttachToDomEvents()
UIElement.INTERNAL_DetachFromDomEvents()
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls
Assembly: OpenSilver.Controls.Data.dll
Syntax
[TemplatePart(Name = "RowsPresenter", Type = typeof(DataGridRowsPresenter))]
[TemplatePart(Name = "ColumnHeadersPresenter", Type = typeof(DataGridColumnHeadersPresenter))]
[TemplatePart(Name = "FrozenColumnScrollBarSpacer", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "HorizontalScrollbar", Type = typeof(ScrollBar))]
[TemplatePart(Name = "ValidationSummary", Type = typeof(ValidationSummary))]
[TemplatePart(Name = "VerticalScrollbar", Type = typeof(ScrollBar))]
[StyleTypedProperty(Property = "CellStyle", StyleTargetType = typeof(DataGridCell))]
[StyleTypedProperty(Property = "ColumnHeaderStyle", StyleTargetType = typeof(DataGridColumnHeader))]
[StyleTypedProperty(Property = "DragIndicatorStyle", StyleTargetType = typeof(ContentControl))]
[StyleTypedProperty(Property = "DropLocationIndicatorStyle", StyleTargetType = typeof(ContentControl))]
[StyleTypedProperty(Property = "RowHeaderStyle", StyleTargetType = typeof(DataGridRowHeader))]
[StyleTypedProperty(Property = "RowStyle", StyleTargetType = typeof(DataGridRow))]
public class DataGrid : Control, IControl, IFrameworkElement, IUIElement, IDependencyObject

Constructors

| Improve this Doc View Source

DataGrid()

Initializes a new instance of the DataGrid class.

Declaration
public DataGrid()

Fields

| Improve this Doc View Source

AlternatingRowBackgroundProperty

Identifies the AlternatingRowBackground dependency property.

Declaration
public static readonly DependencyProperty AlternatingRowBackgroundProperty
Field Value
Type Description
DependencyProperty

The identifier for the AlternatingRowBackground dependency property.

| Improve this Doc View Source

AreRowDetailsFrozenProperty

Identifies the AreRowDetailsFrozen dependency property.

Declaration
public static readonly DependencyProperty AreRowDetailsFrozenProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

AreRowGroupHeadersFrozenProperty

Identifies the AreRowDetailsFrozen dependency property.

Declaration
public static readonly DependencyProperty AreRowGroupHeadersFrozenProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

AutoGenerateColumnsProperty

Identifies the AutoGenerateColumns dependency property.

Declaration
public static readonly DependencyProperty AutoGenerateColumnsProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

CanUserReorderColumnsProperty

Identifies the CanUserReorderColumns dependency property.

Declaration
public static readonly DependencyProperty CanUserReorderColumnsProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

CanUserResizeColumnsProperty

Identifies the CanUserResizeColumns dependency property.

Declaration
public static readonly DependencyProperty CanUserResizeColumnsProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

CanUserSortColumnsProperty

Identifies the CanUserSortColumns dependency property.

Declaration
public static readonly DependencyProperty CanUserSortColumnsProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

CellStyleProperty

Identifies the CellStyle dependency property.

Declaration
public static readonly DependencyProperty CellStyleProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

ClipboardCopyModeProperty

Identifies the ClipboardCopyMode dependency property.

Declaration
public static readonly DependencyProperty ClipboardCopyModeProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

ColumnHeaderHeightProperty

Identifies the ColumnHeaderHeight dependency property.

Declaration
public static readonly DependencyProperty ColumnHeaderHeightProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

ColumnHeaderStyleProperty

Identifies the ColumnHeaderStyle dependency property.

Declaration
public static readonly DependencyProperty ColumnHeaderStyleProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

ColumnWidthProperty

Identifies the ColumnWidth dependency property.

Declaration
public static readonly DependencyProperty ColumnWidthProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

DragIndicatorStyleProperty

Identifies the DragIndicatorStyle dependency property.

Declaration
public static readonly DependencyProperty DragIndicatorStyleProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

DropLocationIndicatorStyleProperty

Identifies the DropLocationIndicatorStyle dependency property.

Declaration
public static readonly DependencyProperty DropLocationIndicatorStyleProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

FrozenColumnCountProperty

Identifies the FrozenColumnCount dependency property.

Declaration
public static readonly DependencyProperty FrozenColumnCountProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

GridLinesVisibilityProperty

Identifies the GridLines dependency property.

Declaration
public static readonly DependencyProperty GridLinesVisibilityProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

HeadersVisibilityProperty

Identifies the HeadersVisibility dependency property.

Declaration
public static readonly DependencyProperty HeadersVisibilityProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

HorizontalGridLinesBrushProperty

Identifies the HorizontalGridLinesBrush dependency property.

Declaration
public static readonly DependencyProperty HorizontalGridLinesBrushProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

HorizontalScrollBarVisibilityProperty

Identifies the HorizontalScrollBarVisibility dependency property.

Declaration
public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

IsReadOnlyProperty

Identifies the IsReadOnly dependency property.

Declaration
public static readonly DependencyProperty IsReadOnlyProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

IsValidProperty

Identifies the IsValid dependency property.

Declaration
public static readonly DependencyProperty IsValidProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

ItemsSourceProperty

Identifies the ItemsSource dependency property.

Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

MaxColumnWidthProperty

Identifies the MaxColumnWidth dependency property.

Declaration
public static readonly DependencyProperty MaxColumnWidthProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

MinColumnWidthProperty

Identifies the MinColumnWidth dependency property.

Declaration
public static readonly DependencyProperty MinColumnWidthProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

RowBackgroundProperty

Identifies the RowBackground dependency property.

Declaration
public static readonly DependencyProperty RowBackgroundProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

RowDetailsTemplateProperty

Identifies the RowDetailsTemplate dependency property.

Declaration
public static readonly DependencyProperty RowDetailsTemplateProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

RowDetailsVisibilityModeProperty

Identifies the RowDetailsVisibilityMode dependency property.

Declaration
public static readonly DependencyProperty RowDetailsVisibilityModeProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

RowHeaderStyleProperty

Identifies the RowHeaderStyle dependency property.

Declaration
public static readonly DependencyProperty RowHeaderStyleProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

RowHeaderWidthProperty

Identifies the RowHeaderWidth dependency property.

Declaration
public static readonly DependencyProperty RowHeaderWidthProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

RowHeightProperty

Identifies the RowHeight dependency property.

Declaration
public static readonly DependencyProperty RowHeightProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

RowStyleProperty

Identifies the RowStyle dependency property.

Declaration
public static readonly DependencyProperty RowStyleProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

SelectedIndexProperty

Identifies the SelectedIndex dependency property.

Declaration
public static readonly DependencyProperty SelectedIndexProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

SelectedItemProperty

Identifies the SelectedItem dependency property.

Declaration
public static readonly DependencyProperty SelectedItemProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

SelectionModeProperty

Identifies the SelectionMode dependency property.

Declaration
public static readonly DependencyProperty SelectionModeProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

VerticalGridLinesBrushProperty

Identifies the VerticalGridLinesBrush dependency property.

Declaration
public static readonly DependencyProperty VerticalGridLinesBrushProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

VerticalScrollBarVisibilityProperty

Identifies the VerticalScrollBarVisibility dependency property.

Declaration
public static readonly DependencyProperty VerticalScrollBarVisibilityProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

AlternatingRowBackground

Gets or sets the Brush that is used to paint the background of odd-numbered rows.

Declaration
public Brush AlternatingRowBackground { get; set; }
Property Value
Type Description
Brush

The brush that is used to paint the background of odd-numbered rows. The default is a SolidColorBrush with a Color value of white (ARGB value #00FFFFFF).

| Improve this Doc View Source

AreRowDetailsFrozen

Gets or sets a value that indicates whether the row details sections remain fixed at the width of the display area or can scroll horizontally.

Declaration
public bool AreRowDetailsFrozen { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

AreRowGroupHeadersFrozen

Gets or sets a value that indicates whether the row group header sections remain fixed at the width of the display area or can scroll horizontally.

Declaration
public bool AreRowGroupHeadersFrozen { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

AutoGenerateColumns

Gets or sets a value that indicates whether columns are created automatically when the ItemsSource property is set.

Declaration
public bool AutoGenerateColumns { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CanUserReorderColumns

Gets or sets a value that indicates whether the user can change the column display order by dragging column headers with the mouse.

Declaration
public bool CanUserReorderColumns { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CanUserResizeColumns

Gets or sets a value that indicates whether the user can adjust column widths using the mouse.

Declaration
public bool CanUserResizeColumns { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CanUserSortColumns

Gets or sets a value that indicates whether the user can sort columns by clicking the column header.

Declaration
public bool CanUserSortColumns { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CellStyle

Gets or sets the style that is used when rendering the data grid cells.

Declaration
public Style CellStyle { get; set; }
Property Value
Type Description
Style
| Improve this Doc View Source

ClipboardCopyMode

The property which determines how DataGrid content is copied to the Clipboard.

Declaration
public DataGridClipboardCopyMode ClipboardCopyMode { get; set; }
Property Value
Type Description
DataGridClipboardCopyMode
| Improve this Doc View Source

ColumnHeaderHeight

Gets or sets the height of the column headers row.

Declaration
public double ColumnHeaderHeight { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

ColumnHeaderStyle

Gets or sets the style that is used when rendering the column headers.

Declaration
public Style ColumnHeaderStyle { get; set; }
Property Value
Type Description
Style
| Improve this Doc View Source

Columns

Gets a collection that contains all the columns in the control.

Declaration
public ObservableCollection<DataGridColumn> Columns { get; }
Property Value
Type Description
System.Collections.ObjectModel.ObservableCollection<DataGridColumn>
| Improve this Doc View Source

ColumnWidth

Gets or sets the standard width or automatic sizing mode of columns in the control.

Declaration
public DataGridLength ColumnWidth { get; set; }
Property Value
Type Description
DataGridLength
| Improve this Doc View Source

CurrentColumn

Gets or sets the column that contains the current cell.

Declaration
public DataGridColumn CurrentColumn { get; set; }
Property Value
Type Description
DataGridColumn
| Improve this Doc View Source

CurrentItem

Gets the data item bound to the row that contains the current cell.

Declaration
protected object CurrentItem { get; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

DragIndicatorStyle

Gets or sets the style that is used when rendering the drag indicator that is displayed while dragging column headers.

Declaration
public Style DragIndicatorStyle { get; set; }
Property Value
Type Description
Style
| Improve this Doc View Source

DropLocationIndicatorStyle

Gets or sets the style that is used when rendering the column headers.

Declaration
public Style DropLocationIndicatorStyle { get; set; }
Property Value
Type Description
Style
| Improve this Doc View Source

FrozenColumnCount

Gets or sets the number of columns that the user cannot scroll horizontally.

Declaration
public int FrozenColumnCount { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

GlobalProgressiveLoadingChunkSize

Global settings for rows progressive loading (NOTE: ProgressiveLoadingRowChunkSize overrides the global settings) null or <= 0 : disable progressive loading

0 : enable progressive loading with this chunk size

Declaration
public static int? GlobalProgressiveLoadingChunkSize { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

GridLinesVisibility

Gets or sets a value that indicates which grid lines separating inner cells are shown.

Declaration
public DataGridGridLinesVisibility GridLinesVisibility { get; set; }
Property Value
Type Description
DataGridGridLinesVisibility
| Improve this Doc View Source

HeadersVisibility

Gets or sets a value that indicates the visibility of row and column headers.

Declaration
public DataGridHeadersVisibility HeadersVisibility { get; set; }
Property Value
Type Description
DataGridHeadersVisibility
| Improve this Doc View Source

HorizontalGridLinesBrush

Gets or sets the Brush that is used to paint grid lines separating rows.

Declaration
public Brush HorizontalGridLinesBrush { get; set; }
Property Value
Type Description
Brush
| Improve this Doc View Source

HorizontalScrollBarVisibility

Gets or sets a value that indicates how the horizontal scroll bar is displayed.

Declaration
public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }
Property Value
Type Description
ScrollBarVisibility
| Improve this Doc View Source

IsReadOnly

Gets or sets a value that indicates whether the user can edit the values in the control.

Declaration
public bool IsReadOnly { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsValid

Gets a value that indicates whether data in the grid is valid.

Declaration
public bool IsValid { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ItemsSource

Gets or sets a collection that is used to generate the content of the control.

Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
Type Description
System.Collections.IEnumerable
| Improve this Doc View Source

MaxColumnWidth

Gets or sets the maximum width of columns in the DataGrid .

Declaration
public double MaxColumnWidth { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

MinColumnWidth

Gets or sets the minimum width of columns in the DataGrid.

Declaration
public double MinColumnWidth { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

ProgressiveLoadingRowChunkSize

Local settings for rows progressive loading null: uses global settings (GlobalProgressiveLoadingChunkSize) <= 0 : disable progressive loading even if global is enabled

0 : enable progressive loading with this chunk size

Declaration
public int? ProgressiveLoadingRowChunkSize { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

RowBackground

Gets or sets the Brush that is used to paint row backgrounds.

Declaration
public Brush RowBackground { get; set; }
Property Value
Type Description
Brush
| Improve this Doc View Source

RowDetailsTemplate

Gets or sets the template that is used to display the content of the details section of rows.

Declaration
public DataTemplate RowDetailsTemplate { get; set; }
Property Value
Type Description
DataTemplate
| Improve this Doc View Source

RowDetailsVisibilityMode

Gets or sets a value that indicates when the details sections of rows are displayed.

Declaration
public DataGridRowDetailsVisibilityMode RowDetailsVisibilityMode { get; set; }
Property Value
Type Description
DataGridRowDetailsVisibilityMode
| Improve this Doc View Source

RowGroupHeaderStyles

Gets or sets the style that is used when rendering the row group header.

Declaration
public ObservableCollection<Style> RowGroupHeaderStyles { get; }
Property Value
Type Description
System.Collections.ObjectModel.ObservableCollection<Style>
| Improve this Doc View Source

RowHeaderStyle

Gets or sets the style that is used when rendering the row headers.

Declaration
public Style RowHeaderStyle { get; set; }
Property Value
Type Description
Style
| Improve this Doc View Source

RowHeaderWidth

Gets or sets the width of the row header column.

Declaration
public double RowHeaderWidth { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

RowHeight

Gets or sets the standard height of rows in the control.

Declaration
public double RowHeight { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

RowStyle

Gets or sets the style that is used when rendering the rows.

Declaration
public Style RowStyle { get; set; }
Property Value
Type Description
Style
| Improve this Doc View Source

SelectedIndex

Gets or sets the index of the current selection.

Declaration
public int SelectedIndex { get; set; }
Property Value
Type Description
System.Int32

The index of the current selection, or -1 if the selection is empty.

| Improve this Doc View Source

SelectedItem

Gets or sets the data item corresponding to the selected row.

Declaration
public object SelectedItem { get; set; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

SelectedItems

Gets a list that contains the data items corresponding to the selected rows.

Declaration
public IList SelectedItems { get; }
Property Value
Type Description
System.Collections.IList
| Improve this Doc View Source

SelectionMode

Gets or sets the selection behavior of the data grid.

Declaration
public DataGridSelectionMode SelectionMode { get; set; }
Property Value
Type Description
DataGridSelectionMode
| Improve this Doc View Source

VerticalGridLinesBrush

Gets or sets the Brush that is used to paint grid lines separating columns.

Declaration
public Brush VerticalGridLinesBrush { get; set; }
Property Value
Type Description
Brush
| Improve this Doc View Source

VerticalScrollBarVisibility

Gets or sets a value that indicates how the vertical scroll bar is displayed.

Declaration
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }
Property Value
Type Description
ScrollBarVisibility

Methods

| Improve this Doc View Source

ArrangeOverride(Size)

Arranges the content of the DataGridRow.

Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type Name Description
Size finalSize

The final area within the parent that this element should use to arrange itself and its children.

Returns
Type Description
Size

The actual size used by the DataGridRow.

Overrides
Control.ArrangeOverride(Size)
| Improve this Doc View Source

BeginEdit()

Enters editing mode for the current cell and current row (if they're not already in editing mode).

Declaration
public bool BeginEdit()
Returns
Type Description
System.Boolean

True if operation was successful. False otherwise.

| Improve this Doc View Source

BeginEdit(RoutedEventArgs)

Enters editing mode for the current cell and current row (if they're not already in editing mode).

Declaration
public bool BeginEdit(RoutedEventArgs editingEventArgs)
Parameters
Type Name Description
RoutedEventArgs editingEventArgs

Provides information about the user gesture that caused the call to BeginEdit. Can be null.

Returns
Type Description
System.Boolean

True if operation was successful. False otherwise.

| Improve this Doc View Source

CancelEdit()

Cancels editing mode and restores the original value.

Declaration
public bool CancelEdit()
Returns
Type Description
System.Boolean

True if operation was successful. False otherwise.

| Improve this Doc View Source

CancelEdit(DataGridEditingUnit)

Cancels editing mode for the specified DataGridEditingUnit and restores its original value.

Declaration
public bool CancelEdit(DataGridEditingUnit editingUnit)
Parameters
Type Name Description
DataGridEditingUnit editingUnit

Specifies whether to cancel edit for a Cell or Row.

Returns
Type Description
System.Boolean

True if operation was successful. False otherwise.

| Improve this Doc View Source

CollapseRowGroup(CollectionViewGroup, Boolean)

Collapses the DataGridRowGroupHeader that represents a given CollectionViewGroup

Declaration
public void CollapseRowGroup(CollectionViewGroup collectionViewGroup, bool collapseAllSubgroups)
Parameters
Type Name Description
CollectionViewGroup collectionViewGroup

CollectionViewGroup

System.Boolean collapseAllSubgroups

Set to true to collapse all Subgroups

| Improve this Doc View Source

CommitEdit()

Commits editing mode and pushes changes to the backend.

Declaration
public bool CommitEdit()
Returns
Type Description
System.Boolean

True if operation was successful. False otherwise.

| Improve this Doc View Source

CommitEdit(DataGridEditingUnit, Boolean)

Commits editing mode for the specified DataGridEditingUnit and pushes changes to the backend.

Declaration
public bool CommitEdit(DataGridEditingUnit editingUnit, bool exitEditingMode)
Parameters
Type Name Description
DataGridEditingUnit editingUnit

Specifies whether to commit edit for a Cell or Row.

System.Boolean exitEditingMode

Editing mode is left if True.

Returns
Type Description
System.Boolean

True if operation was successful. False otherwise.

| Improve this Doc View Source

ExpandRowGroup(CollectionViewGroup, Boolean)

Expands the DataGridRowGroupHeader that represents a given CollectionViewGroup

Declaration
public void ExpandRowGroup(CollectionViewGroup collectionViewGroup, bool expandAllSubgroups)
Parameters
Type Name Description
CollectionViewGroup collectionViewGroup

CollectionViewGroup

System.Boolean expandAllSubgroups

Set to true to expand all Subgroups

| Improve this Doc View Source

GetGroupFromItem(Object, Int32)

Returns the Group at the indicated level or null if the item is not in the ItemsSource

Declaration
public CollectionViewGroup GetGroupFromItem(object item, int groupLevel)
Parameters
Type Name Description
System.Object item

item

System.Int32 groupLevel

groupLevel

Returns
Type Description
CollectionViewGroup

The group the given item falls under or null if the item is not in the ItemsSource

| Improve this Doc View Source

MeasureOverride(Size)

Measures the children of a DataGridRow to prepare for arranging them during the ArrangeOverride(Size) pass.

Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type Name Description
Size availableSize

The available size that this element can give to child elements. Indicates an upper limit that child elements should not exceed.

Returns
Type Description
Size

The size that the DataGridRow determines it needs during layout, based on its calculations of child object allocated sizes.

Overrides
Control.MeasureOverride(Size)
| Improve this Doc View Source

OnApplyTemplate()

Builds the visual tree for the column header when a new template is applied.

Declaration
public override void OnApplyTemplate()
Overrides
Control.OnApplyTemplate()
| Improve this Doc View Source

OnAutoGeneratingColumn(DataGridAutoGeneratingColumnEventArgs)

Raises the AutoGeneratingColumn event.

Declaration
protected virtual void OnAutoGeneratingColumn(DataGridAutoGeneratingColumnEventArgs e)
Parameters
Type Name Description
DataGridAutoGeneratingColumnEventArgs e
| Improve this Doc View Source

OnBeginningEdit(DataGridBeginningEditEventArgs)

Raises the BeginningEdit event.

Declaration
protected virtual void OnBeginningEdit(DataGridBeginningEditEventArgs e)
Parameters
Type Name Description
DataGridBeginningEditEventArgs e
| Improve this Doc View Source

OnCellEditEnded(DataGridCellEditEndedEventArgs)

Raises the CellEditEnded event.

Declaration
protected virtual void OnCellEditEnded(DataGridCellEditEndedEventArgs e)
Parameters
Type Name Description
DataGridCellEditEndedEventArgs e
| Improve this Doc View Source

OnCellEditEnding(DataGridCellEditEndingEventArgs)

Raises the CellEditEnding event.

Declaration
protected virtual void OnCellEditEnding(DataGridCellEditEndingEventArgs e)
Parameters
Type Name Description
DataGridCellEditEndingEventArgs e
| Improve this Doc View Source

OnColumnDisplayIndexChanged(DataGridColumnEventArgs)

Raises the ColumnDisplayIndexChanged event.

Declaration
protected virtual void OnColumnDisplayIndexChanged(DataGridColumnEventArgs e)
Parameters
Type Name Description
DataGridColumnEventArgs e

The event data.

| Improve this Doc View Source

OnColumnReordered(DataGridColumnEventArgs)

Raises the ColumnReordered event.

Declaration
protected virtual void OnColumnReordered(DataGridColumnEventArgs e)
Parameters
Type Name Description
DataGridColumnEventArgs e

The event data.

| Improve this Doc View Source

OnColumnReordering(DataGridColumnReorderingEventArgs)

Raises the ColumnReordering event.

Declaration
protected virtual void OnColumnReordering(DataGridColumnReorderingEventArgs e)
Parameters
Type Name Description
DataGridColumnReorderingEventArgs e

The event data.

| Improve this Doc View Source

OnCopyingRowClipboardContent(DataGridRowClipboardEventArgs)

This method raises the CopyingRowClipboardContent event.

Declaration
protected virtual void OnCopyingRowClipboardContent(DataGridRowClipboardEventArgs e)
Parameters
Type Name Description
DataGridRowClipboardEventArgs e

Contains the necessary information for generating the row clipboard content.

| Improve this Doc View Source

OnCreateAutomationPeer()

Creates AutomationPeer (OnCreateAutomationPeer())

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type Description
AutomationPeer
Overrides
UIElement.OnCreateAutomationPeer()
| Improve this Doc View Source

OnCurrentCellChanged(EventArgs)

Raises the CurrentCellChanged event.

Declaration
protected virtual void OnCurrentCellChanged(EventArgs e)
Parameters
Type Name Description
System.EventArgs e
| Improve this Doc View Source

OnLoadingRow(DataGridRowEventArgs)

Raises the LoadingRow event for row preparation.

Declaration
protected virtual void OnLoadingRow(DataGridRowEventArgs e)
Parameters
Type Name Description
DataGridRowEventArgs e
| Improve this Doc View Source

OnLoadingRowDetails(DataGridRowDetailsEventArgs)

Raises the LoadingRowDetails for row details preparation

Declaration
protected virtual void OnLoadingRowDetails(DataGridRowDetailsEventArgs e)
Parameters
Type Name Description
DataGridRowDetailsEventArgs e
| Improve this Doc View Source

OnLoadingRowGroup(DataGridRowGroupHeaderEventArgs)

Raises the LoadingRowGroup event

Declaration
protected virtual void OnLoadingRowGroup(DataGridRowGroupHeaderEventArgs e)
Parameters
Type Name Description
DataGridRowGroupHeaderEventArgs e

EventArgs

| Improve this Doc View Source

OnMouseWheel(MouseWheelEventArgs)

Scrolls the DataGrid according to the direction of the delta.

Declaration
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters
Type Name Description
MouseWheelEventArgs e

MouseWheelEventArgs

Overrides
UIElement.OnMouseWheel(MouseWheelEventArgs)
| Improve this Doc View Source

OnPreparingCellForEdit(DataGridPreparingCellForEditEventArgs)

Raises the PreparingCellForEdit event.

Declaration
protected virtual void OnPreparingCellForEdit(DataGridPreparingCellForEditEventArgs e)
Parameters
Type Name Description
DataGridPreparingCellForEditEventArgs e
| Improve this Doc View Source

OnRowDetailsVisibilityChanged(DataGridRowDetailsEventArgs)

Raises the RowDetailsVisibilityChanged event.

Declaration
protected virtual void OnRowDetailsVisibilityChanged(DataGridRowDetailsEventArgs e)
Parameters
Type Name Description
DataGridRowDetailsEventArgs e

The event data.

| Improve this Doc View Source

OnRowEditEnded(DataGridRowEditEndedEventArgs)

Raises the RowEditEnded event.

Declaration
protected virtual void OnRowEditEnded(DataGridRowEditEndedEventArgs e)
Parameters
Type Name Description
DataGridRowEditEndedEventArgs e
| Improve this Doc View Source

OnRowEditEnding(DataGridRowEditEndingEventArgs)

Raises the RowEditEnding event.

Declaration
protected virtual void OnRowEditEnding(DataGridRowEditEndingEventArgs e)
Parameters
Type Name Description
DataGridRowEditEndingEventArgs e
| Improve this Doc View Source

OnSelectionChanged(SelectionChangedEventArgs)

Raises the SelectionChanged event and clears the _selectionChanged. This event won't get raised again until after _selectionChanged is set back to true.

Declaration
protected virtual void OnSelectionChanged(SelectionChangedEventArgs e)
Parameters
Type Name Description
SelectionChangedEventArgs e
| Improve this Doc View Source

OnUnloadingRow(DataGridRowEventArgs)

Raises the UnloadingRow event for row recycling.

Declaration
protected virtual void OnUnloadingRow(DataGridRowEventArgs e)
Parameters
Type Name Description
DataGridRowEventArgs e
| Improve this Doc View Source

OnUnloadingRowDetails(DataGridRowDetailsEventArgs)

Raises the UnloadingRowDetails event

Declaration
protected virtual void OnUnloadingRowDetails(DataGridRowDetailsEventArgs e)
Parameters
Type Name Description
DataGridRowDetailsEventArgs e
| Improve this Doc View Source

OnUnloadingRowGroup(DataGridRowGroupHeaderEventArgs)

Raises the UnLoadingRowGroup event

Declaration
protected virtual void OnUnloadingRowGroup(DataGridRowGroupHeaderEventArgs e)
Parameters
Type Name Description
DataGridRowGroupHeaderEventArgs e

EventArgs

| Improve this Doc View Source

ScrollIntoView(Object, DataGridColumn)

Scrolls the specified item or RowGroupHeader and/or column into view. If item is not null: scrolls the row representing the item into view; If column is not null: scrolls the column into view; If both item and column are null, the method returns without scrolling.

Declaration
public void ScrollIntoView(object item, DataGridColumn column)
Parameters
Type Name Description
System.Object item

an item from the DataGrid's items source or a CollectionViewGroup from the collection view

DataGridColumn column

a column from the DataGrid's columns collection

Events

| Improve this Doc View Source

AutoGeneratingColumn

Occurs one time for each public, non-static property in the bound data type when the ItemsSource property is changed and the AutoGenerateColumns property is true.

Declaration
public event EventHandler<DataGridAutoGeneratingColumnEventArgs> AutoGeneratingColumn
Event Type
Type Description
System.EventHandler<DataGridAutoGeneratingColumnEventArgs>
| Improve this Doc View Source

BeginningEdit

Occurs before a cell or row enters editing mode.

Declaration
public event EventHandler<DataGridBeginningEditEventArgs> BeginningEdit
Event Type
Type Description
System.EventHandler<DataGridBeginningEditEventArgs>
| Improve this Doc View Source

CellEditEnded

Occurs after cell editing has ended.

Declaration
public event EventHandler<DataGridCellEditEndedEventArgs> CellEditEnded
Event Type
Type Description
System.EventHandler<DataGridCellEditEndedEventArgs>
| Improve this Doc View Source

CellEditEnding

Occurs immediately before cell editing has ended.

Declaration
public event EventHandler<DataGridCellEditEndingEventArgs> CellEditEnding
Event Type
Type Description
System.EventHandler<DataGridCellEditEndingEventArgs>
| Improve this Doc View Source

ColumnDisplayIndexChanged

Occurs when the DisplayIndex property of a column changes.

Declaration
public event EventHandler<DataGridColumnEventArgs> ColumnDisplayIndexChanged
Event Type
Type Description
System.EventHandler<DataGridColumnEventArgs>
| Improve this Doc View Source

ColumnHeaderDragCompleted

Occurs when the user drops a column header that was being dragged using the mouse.

Declaration
public event EventHandler<DragCompletedEventArgs> ColumnHeaderDragCompleted
Event Type
Type Description
System.EventHandler<DragCompletedEventArgs>
| Improve this Doc View Source

ColumnHeaderDragDelta

Occurs one or more times while the user drags a column header using the mouse.

Declaration
public event EventHandler<DragDeltaEventArgs> ColumnHeaderDragDelta
Event Type
Type Description
System.EventHandler<DragDeltaEventArgs>
| Improve this Doc View Source

ColumnHeaderDragStarted

Occurs when the user begins dragging a column header using the mouse.

Declaration
public event EventHandler<DragStartedEventArgs> ColumnHeaderDragStarted
Event Type
Type Description
System.EventHandler<DragStartedEventArgs>
| Improve this Doc View Source

ColumnReordered

Raised when column reordering ends, to allow subscribers to clean up.

Declaration
public event EventHandler<DataGridColumnEventArgs> ColumnReordered
Event Type
Type Description
System.EventHandler<DataGridColumnEventArgs>
| Improve this Doc View Source

ColumnReordering

Raised when starting a column reordering action. Subscribers to this event can set tooltip and caret UIElements, constrain tooltip position, indicate that a preview should be shown, or cancel reordering.

Declaration
public event EventHandler<DataGridColumnReorderingEventArgs> ColumnReordering
Event Type
Type Description
System.EventHandler<DataGridColumnReorderingEventArgs>
| Improve this Doc View Source

CopyingRowClipboardContent

This event is raised by OnCopyingRowClipboardContent method after the default row content is prepared. Event listeners can modify or add to the row clipboard content.

Declaration
public event EventHandler<DataGridRowClipboardEventArgs> CopyingRowClipboardContent
Event Type
Type Description
System.EventHandler<DataGridRowClipboardEventArgs>
| Improve this Doc View Source

CurrentCellChanged

Occurs when a different cell becomes the current cell.

Declaration
public event EventHandler<EventArgs> CurrentCellChanged
Event Type
Type Description
System.EventHandler<System.EventArgs>
| Improve this Doc View Source

LoadingRow

Occurs after a DataGridRow is instantiated, so that you can customize it before it is used.

Declaration
public event EventHandler<DataGridRowEventArgs> LoadingRow
Event Type
Type Description
System.EventHandler<DataGridRowEventArgs>
| Improve this Doc View Source

LoadingRowDetails

Occurs when a new row details template is applied to a row, so that you can customize the details section before it is used.

Declaration
public event EventHandler<DataGridRowDetailsEventArgs> LoadingRowDetails
Event Type
Type Description
System.EventHandler<DataGridRowDetailsEventArgs>
| Improve this Doc View Source

LoadingRowGroup

Occurs before a DataGridRowGroupHeader header is used.

Declaration
public event EventHandler<DataGridRowGroupHeaderEventArgs> LoadingRowGroup
Event Type
Type Description
System.EventHandler<DataGridRowGroupHeaderEventArgs>
| Improve this Doc View Source

PreparingCellForEdit

Occurs when a cell in a DataGridTemplateColumn enters editing mode.

Declaration
public event EventHandler<DataGridPreparingCellForEditEventArgs> PreparingCellForEdit
Event Type
Type Description
System.EventHandler<DataGridPreparingCellForEditEventArgs>
| Improve this Doc View Source

ProgressiveLoadingInProgressChanged

Fires when progressive loading starts and ends

Declaration
public event EventHandler<DataGridProgressiveLoadingInProgressChangedEventArgs> ProgressiveLoadingInProgressChanged
Event Type
Type Description
System.EventHandler<DataGridProgressiveLoadingInProgressChangedEventArgs>
| Improve this Doc View Source

RowDetailsVisibilityChanged

Occurs when the RowDetailsVisibilityMode property value changes.

Declaration
public event EventHandler<DataGridRowDetailsEventArgs> RowDetailsVisibilityChanged
Event Type
Type Description
System.EventHandler<DataGridRowDetailsEventArgs>
| Improve this Doc View Source

RowEditEnded

Occurs when the row has been successfully committed or cancelled.

Declaration
public event EventHandler<DataGridRowEditEndedEventArgs> RowEditEnded
Event Type
Type Description
System.EventHandler<DataGridRowEditEndedEventArgs>
| Improve this Doc View Source

RowEditEnding

Occurs immediately before the row has been successfully committed or cancelled.

Declaration
public event EventHandler<DataGridRowEditEndingEventArgs> RowEditEnding
Event Type
Type Description
System.EventHandler<DataGridRowEditEndingEventArgs>
| Improve this Doc View Source

SelectionChanged

Occurs when the SelectedItem or SelectedItems property value changes.

Declaration
public event SelectionChangedEventHandler SelectionChanged
Event Type
Type Description
SelectionChangedEventHandler
| Improve this Doc View Source

UnloadingRow

Occurs when a DataGridRow object becomes available for reuse.

Declaration
public event EventHandler<DataGridRowEventArgs> UnloadingRow
Event Type
Type Description
System.EventHandler<DataGridRowEventArgs>
| Improve this Doc View Source

UnloadingRowDetails

Occurs when a row details element becomes available for reuse.

Declaration
public event EventHandler<DataGridRowDetailsEventArgs> UnloadingRowDetails
Event Type
Type Description
System.EventHandler<DataGridRowDetailsEventArgs>
| Improve this Doc View Source

UnloadingRowGroup

Occurs when the DataGridRowGroupHeader is available for reuse.

Declaration
public event EventHandler<DataGridRowGroupHeaderEventArgs> UnloadingRowGroup
Event Type
Type Description
System.EventHandler<DataGridRowGroupHeaderEventArgs>

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
UIElementExtendedRoutedEventExtensions.AddHandler(UIElement, ExtendedRoutedEvent, Delegate, Boolean)
UIElementExtendedRoutedEventExtensions.RemoveHandler(UIElement, ExtendedRoutedEvent, Delegate)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
VisualTreeExtensions.GetBoundsRelativeTo(FrameworkElement, UIElement)
VisualTreeExtensions.InvokeOnLayoutUpdated(FrameworkElement, Action)
  • Improve this Doc
  • View Source