Show / Hide Table of Contents

Class DataGrid

DataGrid class that provides logic to restrict the selection to a maximum number of items. Furthermore, the class provides two string properties that can be used to set the headers of the SelectionOverlay to replace/show/hide columns This DataGrid can group it's columns in several rows. You can set the maximum stacked rows with MaxHeaderStackCount. The user can drag and drop row headers to group them in rows. Up to the aforementioned maximum.

Inheritance
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ItemsControl
System.Windows.Controls.Primitives.Selector
System.Windows.Controls.Primitives.MultiSelector
System.Windows.Controls.DataGrid
DataGrid
MetaDataGrid
SearchableDataGrid
Implements
System.Windows.Media.Animation.IAnimatable
System.ComponentModel.ISupportInitialize
System.Windows.IFrameworkInputElement
System.Windows.IInputElement
System.Windows.Markup.IQueryAmbient
System.Windows.Controls.Primitives.IContainItemStorage
System.Windows.Markup.IAddChild
System.Windows.Controls.DataGrid.AlternatingRowBackgroundProperty
System.Windows.Controls.DataGrid.AreRowDetailsFrozenProperty
System.Windows.Controls.DataGrid.AutoGenerateColumnsProperty
System.Windows.Controls.DataGrid.BeginEditCommand
System.Windows.Controls.DataGrid.CancelEditCommand
System.Windows.Controls.DataGrid.CanUserAddRowsProperty
System.Windows.Controls.DataGrid.CanUserDeleteRowsProperty
System.Windows.Controls.DataGrid.CanUserReorderColumnsProperty
System.Windows.Controls.DataGrid.CanUserResizeColumnsProperty
System.Windows.Controls.DataGrid.CanUserResizeRowsProperty
System.Windows.Controls.DataGrid.CanUserSortColumnsProperty
System.Windows.Controls.DataGrid.CellsPanelHorizontalOffsetProperty
System.Windows.Controls.DataGrid.CellStyleProperty
System.Windows.Controls.DataGrid.ClipboardCopyModeProperty
System.Windows.Controls.DataGrid.ColumnHeaderHeightProperty
System.Windows.Controls.DataGrid.ColumnHeaderStyleProperty
System.Windows.Controls.DataGrid.ColumnWidthProperty
System.Windows.Controls.DataGrid.CommitEditCommand
System.Windows.Controls.DataGrid.CurrentCellProperty
System.Windows.Controls.DataGrid.CurrentColumnProperty
System.Windows.Controls.DataGrid.CurrentItemProperty
System.Windows.Controls.DataGrid.DragIndicatorStyleProperty
System.Windows.Controls.DataGrid.DropLocationIndicatorStyleProperty
System.Windows.Controls.DataGrid.EnableColumnVirtualizationProperty
System.Windows.Controls.DataGrid.EnableRowVirtualizationProperty
System.Windows.Controls.DataGrid.FrozenColumnCountProperty
System.Windows.Controls.DataGrid.GridLinesVisibilityProperty
System.Windows.Controls.DataGrid.HeadersVisibilityProperty
System.Windows.Controls.DataGrid.HorizontalGridLinesBrushProperty
System.Windows.Controls.DataGrid.HorizontalScrollBarVisibilityProperty
System.Windows.Controls.DataGrid.IsReadOnlyProperty
System.Windows.Controls.DataGrid.MaxColumnWidthProperty
System.Windows.Controls.DataGrid.MinColumnWidthProperty
System.Windows.Controls.DataGrid.MinRowHeightProperty
System.Windows.Controls.DataGrid.NewItemMarginProperty
System.Windows.Controls.DataGrid.NonFrozenColumnsViewportHorizontalOffsetProperty
System.Windows.Controls.DataGrid.RowBackgroundProperty
System.Windows.Controls.DataGrid.RowDetailsTemplateProperty
System.Windows.Controls.DataGrid.RowDetailsTemplateSelectorProperty
System.Windows.Controls.DataGrid.RowDetailsVisibilityModeProperty
System.Windows.Controls.DataGrid.RowHeaderActualWidthProperty
System.Windows.Controls.DataGrid.RowHeaderStyleProperty
System.Windows.Controls.DataGrid.RowHeaderTemplateProperty
System.Windows.Controls.DataGrid.RowHeaderTemplateSelectorProperty
System.Windows.Controls.DataGrid.RowHeaderWidthProperty
System.Windows.Controls.DataGrid.RowHeightProperty
System.Windows.Controls.DataGrid.RowStyleProperty
System.Windows.Controls.DataGrid.RowStyleSelectorProperty
System.Windows.Controls.DataGrid.RowValidationErrorTemplateProperty
System.Windows.Controls.DataGrid.SelectionModeProperty
System.Windows.Controls.DataGrid.SelectionUnitProperty
System.Windows.Controls.DataGrid.VerticalGridLinesBrushProperty
System.Windows.Controls.DataGrid.VerticalScrollBarVisibilityProperty
System.Windows.Controls.DataGrid.BeginEdit()
System.Windows.Controls.DataGrid.BeginEdit(System.Windows.RoutedEventArgs)
System.Windows.Controls.DataGrid.CancelEdit()
System.Windows.Controls.DataGrid.CancelEdit(System.Windows.Controls.DataGridEditingUnit)
System.Windows.Controls.DataGrid.ClearContainerForItemOverride(System.Windows.DependencyObject, System.Object)
System.Windows.Controls.DataGrid.ClearDetailsVisibilityForItem(System.Object)
System.Windows.Controls.DataGrid.ColumnFromDisplayIndex(System.Int32)
System.Windows.Controls.DataGrid.CommitEdit()
System.Windows.Controls.DataGrid.CommitEdit(System.Windows.Controls.DataGridEditingUnit, System.Boolean)
System.Windows.Controls.DataGrid.GenerateColumns(System.ComponentModel.IItemProperties)
System.Windows.Controls.DataGrid.GetDetailsVisibilityForItem(System.Object)
System.Windows.Controls.DataGrid.MeasureOverride(System.Windows.Size)
System.Windows.Controls.DataGrid.OnAddingNewItem(System.Windows.Controls.AddingNewItemEventArgs)
System.Windows.Controls.DataGrid.OnAutoGeneratedColumns(System.EventArgs)
System.Windows.Controls.DataGrid.OnAutoGeneratingColumn(System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs)
System.Windows.Controls.DataGrid.OnBeginningEdit(System.Windows.Controls.DataGridBeginningEditEventArgs)
System.Windows.Controls.DataGrid.OnCanExecuteBeginEdit(System.Windows.Input.CanExecuteRoutedEventArgs)
System.Windows.Controls.DataGrid.OnCanExecuteCancelEdit(System.Windows.Input.CanExecuteRoutedEventArgs)
System.Windows.Controls.DataGrid.OnCanExecuteCommitEdit(System.Windows.Input.CanExecuteRoutedEventArgs)
System.Windows.Controls.DataGrid.OnCanExecuteCopy(System.Windows.Input.CanExecuteRoutedEventArgs)
System.Windows.Controls.DataGrid.OnCanExecuteDelete(System.Windows.Input.CanExecuteRoutedEventArgs)
System.Windows.Controls.DataGrid.OnCellEditEnding(System.Windows.Controls.DataGridCellEditEndingEventArgs)
System.Windows.Controls.DataGrid.OnColumnDisplayIndexChanged(System.Windows.Controls.DataGridColumnEventArgs)
System.Windows.Controls.DataGrid.OnContextMenuOpening(System.Windows.Controls.ContextMenuEventArgs)
System.Windows.Controls.DataGrid.OnCopyingRowClipboardContent(System.Windows.Controls.DataGridRowClipboardEventArgs)
System.Windows.Controls.DataGrid.OnCreateAutomationPeer()
System.Windows.Controls.DataGrid.OnExecutedBeginEdit(System.Windows.Input.ExecutedRoutedEventArgs)
System.Windows.Controls.DataGrid.OnExecutedCancelEdit(System.Windows.Input.ExecutedRoutedEventArgs)
System.Windows.Controls.DataGrid.OnExecutedCommitEdit(System.Windows.Input.ExecutedRoutedEventArgs)
System.Windows.Controls.DataGrid.OnExecutedCopy(System.Windows.Input.ExecutedRoutedEventArgs)
System.Windows.Controls.DataGrid.OnExecutedDelete(System.Windows.Input.ExecutedRoutedEventArgs)
System.Windows.Controls.DataGrid.OnInitializingNewItem(System.Windows.Controls.InitializingNewItemEventArgs)
System.Windows.Controls.DataGrid.OnIsMouseCapturedChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.Controls.DataGrid.OnItemsChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs)
System.Windows.Controls.DataGrid.OnLoadingRow(System.Windows.Controls.DataGridRowEventArgs)
System.Windows.Controls.DataGrid.OnLoadingRowDetails(System.Windows.Controls.DataGridRowDetailsEventArgs)
System.Windows.Controls.DataGrid.OnMouseMove(System.Windows.Input.MouseEventArgs)
System.Windows.Controls.DataGrid.OnPreparingCellForEdit(System.Windows.Controls.DataGridPreparingCellForEditEventArgs)
System.Windows.Controls.DataGrid.OnRowDetailsVisibilityChanged(System.Windows.Controls.DataGridRowDetailsEventArgs)
System.Windows.Controls.DataGrid.OnRowEditEnding(System.Windows.Controls.DataGridRowEditEndingEventArgs)
System.Windows.Controls.DataGrid.OnSelectedCellsChanged(System.Windows.Controls.SelectedCellsChangedEventArgs)
System.Windows.Controls.DataGrid.OnSelectionChanged(System.Windows.Controls.SelectionChangedEventArgs)
System.Windows.Controls.DataGrid.OnTemplateChanged(System.Windows.Controls.ControlTemplate, System.Windows.Controls.ControlTemplate)
System.Windows.Controls.DataGrid.OnTextInput(System.Windows.Input.TextCompositionEventArgs)
System.Windows.Controls.DataGrid.OnUnloadingRow(System.Windows.Controls.DataGridRowEventArgs)
System.Windows.Controls.DataGrid.OnUnloadingRowDetails(System.Windows.Controls.DataGridRowDetailsEventArgs)
System.Windows.Controls.DataGrid.PrepareContainerForItemOverride(System.Windows.DependencyObject, System.Object)
System.Windows.Controls.DataGrid.ScrollIntoView(System.Object)
System.Windows.Controls.DataGrid.ScrollIntoView(System.Object, System.Windows.Controls.DataGridColumn)
System.Windows.Controls.DataGrid.SelectAllCells()
System.Windows.Controls.DataGrid.SetDetailsVisibilityForItem(System.Object, System.Windows.Visibility)
System.Windows.Controls.DataGrid.UnselectAllCells()
System.Windows.Controls.DataGrid.AlternatingRowBackground
System.Windows.Controls.DataGrid.AreRowDetailsFrozen
System.Windows.Controls.DataGrid.AutoGenerateColumns
System.Windows.Controls.DataGrid.CanUserAddRows
System.Windows.Controls.DataGrid.CanUserDeleteRows
System.Windows.Controls.DataGrid.CanUserReorderColumns
System.Windows.Controls.DataGrid.CanUserResizeColumns
System.Windows.Controls.DataGrid.CanUserResizeRows
System.Windows.Controls.DataGrid.CanUserSortColumns
System.Windows.Controls.DataGrid.CellsPanelHorizontalOffset
System.Windows.Controls.DataGrid.CellStyle
System.Windows.Controls.DataGrid.ClipboardCopyMode
System.Windows.Controls.DataGrid.ColumnHeaderHeight
System.Windows.Controls.DataGrid.ColumnHeaderStyle
System.Windows.Controls.DataGrid.Columns
System.Windows.Controls.DataGrid.ColumnWidth
System.Windows.Controls.DataGrid.CurrentCell
System.Windows.Controls.DataGrid.CurrentColumn
System.Windows.Controls.DataGrid.CurrentItem
System.Windows.Controls.DataGrid.DeleteCommand
System.Windows.Controls.DataGrid.DragIndicatorStyle
System.Windows.Controls.DataGrid.DropLocationIndicatorStyle
System.Windows.Controls.DataGrid.EnableColumnVirtualization
System.Windows.Controls.DataGrid.EnableRowVirtualization
System.Windows.Controls.DataGrid.FocusBorderBrushKey
System.Windows.Controls.DataGrid.FrozenColumnCount
System.Windows.Controls.DataGrid.GridLinesVisibility
System.Windows.Controls.DataGrid.HandlesScrolling
System.Windows.Controls.DataGrid.HeadersVisibility
System.Windows.Controls.DataGrid.HeadersVisibilityConverter
System.Windows.Controls.DataGrid.HorizontalGridLinesBrush
System.Windows.Controls.DataGrid.HorizontalScrollBarVisibility
System.Windows.Controls.DataGrid.IsReadOnly
System.Windows.Controls.DataGrid.MaxColumnWidth
System.Windows.Controls.DataGrid.MinColumnWidth
System.Windows.Controls.DataGrid.MinRowHeight
System.Windows.Controls.DataGrid.NewItemMargin
System.Windows.Controls.DataGrid.NonFrozenColumnsViewportHorizontalOffset
System.Windows.Controls.DataGrid.RowBackground
System.Windows.Controls.DataGrid.RowDetailsScrollingConverter
System.Windows.Controls.DataGrid.RowDetailsTemplate
System.Windows.Controls.DataGrid.RowDetailsTemplateSelector
System.Windows.Controls.DataGrid.RowDetailsVisibilityMode
System.Windows.Controls.DataGrid.RowHeaderActualWidth
System.Windows.Controls.DataGrid.RowHeaderStyle
System.Windows.Controls.DataGrid.RowHeaderTemplate
System.Windows.Controls.DataGrid.RowHeaderTemplateSelector
System.Windows.Controls.DataGrid.RowHeaderWidth
System.Windows.Controls.DataGrid.RowHeight
System.Windows.Controls.DataGrid.RowStyle
System.Windows.Controls.DataGrid.RowStyleSelector
System.Windows.Controls.DataGrid.RowValidationErrorTemplate
System.Windows.Controls.DataGrid.RowValidationRules
System.Windows.Controls.DataGrid.SelectAllCommand
System.Windows.Controls.DataGrid.SelectedCells
System.Windows.Controls.DataGrid.SelectionMode
System.Windows.Controls.DataGrid.SelectionUnit
System.Windows.Controls.DataGrid.VerticalGridLinesBrush
System.Windows.Controls.DataGrid.VerticalScrollBarVisibility
System.Windows.Controls.DataGrid.AddingNewItem
System.Windows.Controls.DataGrid.AutoGeneratedColumns
System.Windows.Controls.DataGrid.AutoGeneratingColumn
System.Windows.Controls.DataGrid.BeginningEdit
System.Windows.Controls.DataGrid.CellEditEnding
System.Windows.Controls.DataGrid.ColumnDisplayIndexChanged
System.Windows.Controls.DataGrid.ColumnHeaderDragCompleted
System.Windows.Controls.DataGrid.ColumnHeaderDragDelta
System.Windows.Controls.DataGrid.ColumnHeaderDragStarted
System.Windows.Controls.DataGrid.ColumnReordered
System.Windows.Controls.DataGrid.ColumnReordering
System.Windows.Controls.DataGrid.CopyingRowClipboardContent
System.Windows.Controls.DataGrid.CurrentCellChanged
System.Windows.Controls.DataGrid.InitializingNewItem
System.Windows.Controls.DataGrid.LoadingRow
System.Windows.Controls.DataGrid.LoadingRowDetails
System.Windows.Controls.DataGrid.PreparingCellForEdit
System.Windows.Controls.DataGrid.RowDetailsVisibilityChanged
System.Windows.Controls.DataGrid.RowEditEnding
System.Windows.Controls.DataGrid.SelectedCellsChanged
System.Windows.Controls.DataGrid.Sorting
System.Windows.Controls.DataGrid.UnloadingRow
System.Windows.Controls.DataGrid.UnloadingRowDetails
System.Windows.Controls.Primitives.MultiSelector.BeginUpdateSelectedItems()
System.Windows.Controls.Primitives.MultiSelector.EndUpdateSelectedItems()
System.Windows.Controls.Primitives.MultiSelector.SelectAll()
System.Windows.Controls.Primitives.MultiSelector.UnselectAll()
System.Windows.Controls.Primitives.MultiSelector.CanSelectMultipleItems
System.Windows.Controls.Primitives.MultiSelector.IsUpdatingSelectedItems
System.Windows.Controls.Primitives.MultiSelector.SelectedItems
System.Windows.Controls.Primitives.Selector.IsSelectedProperty
System.Windows.Controls.Primitives.Selector.IsSelectionActiveProperty
System.Windows.Controls.Primitives.Selector.IsSynchronizedWithCurrentItemProperty
System.Windows.Controls.Primitives.Selector.SelectedEvent
System.Windows.Controls.Primitives.Selector.SelectedIndexProperty
System.Windows.Controls.Primitives.Selector.SelectedItemProperty
System.Windows.Controls.Primitives.Selector.SelectedValuePathProperty
System.Windows.Controls.Primitives.Selector.SelectedValueProperty
System.Windows.Controls.Primitives.Selector.SelectionChangedEvent
System.Windows.Controls.Primitives.Selector.UnselectedEvent
System.Windows.Controls.Primitives.Selector.AddSelectedHandler(System.Windows.DependencyObject, System.Windows.RoutedEventHandler)
System.Windows.Controls.Primitives.Selector.AddUnselectedHandler(System.Windows.DependencyObject, System.Windows.RoutedEventHandler)
System.Windows.Controls.Primitives.Selector.GetIsSelected(System.Windows.DependencyObject)
System.Windows.Controls.Primitives.Selector.GetIsSelectionActive(System.Windows.DependencyObject)
System.Windows.Controls.Primitives.Selector.OnInitialized(System.EventArgs)
System.Windows.Controls.Primitives.Selector.RemoveSelectedHandler(System.Windows.DependencyObject, System.Windows.RoutedEventHandler)
System.Windows.Controls.Primitives.Selector.RemoveUnselectedHandler(System.Windows.DependencyObject, System.Windows.RoutedEventHandler)
System.Windows.Controls.Primitives.Selector.SetIsSelected(System.Windows.DependencyObject, System.Boolean)
System.Windows.Controls.Primitives.Selector.IsSynchronizedWithCurrentItem
System.Windows.Controls.Primitives.Selector.SelectedIndex
System.Windows.Controls.Primitives.Selector.SelectedItem
System.Windows.Controls.Primitives.Selector.SelectedValue
System.Windows.Controls.Primitives.Selector.SelectedValuePath
System.Windows.Controls.Primitives.Selector.SelectionChanged
System.Windows.Controls.ItemsControl.AlternationCountProperty
System.Windows.Controls.ItemsControl.AlternationIndexProperty
System.Windows.Controls.ItemsControl.DisplayMemberPathProperty
System.Windows.Controls.ItemsControl.GroupStyleSelectorProperty
System.Windows.Controls.ItemsControl.HasItemsProperty
System.Windows.Controls.ItemsControl.IsGroupingProperty
System.Windows.Controls.ItemsControl.IsTextSearchCaseSensitiveProperty
System.Windows.Controls.ItemsControl.IsTextSearchEnabledProperty
System.Windows.Controls.ItemsControl.ItemBindingGroupProperty
System.Windows.Controls.ItemsControl.ItemContainerStyleProperty
System.Windows.Controls.ItemsControl.ItemContainerStyleSelectorProperty
System.Windows.Controls.ItemsControl.ItemsPanelProperty
System.Windows.Controls.ItemsControl.ItemsSourceProperty
System.Windows.Controls.ItemsControl.ItemStringFormatProperty
System.Windows.Controls.ItemsControl.ItemTemplateProperty
System.Windows.Controls.ItemsControl.ItemTemplateSelectorProperty
System.Windows.Controls.ItemsControl.AddChild(System.Object)
System.Windows.Controls.ItemsControl.AddText(System.String)
System.Windows.Controls.ItemsControl.BeginInit()
System.Windows.Controls.ItemsControl.ContainerFromElement(System.Windows.Controls.ItemsControl, System.Windows.DependencyObject)
System.Windows.Controls.ItemsControl.ContainerFromElement(System.Windows.DependencyObject)
System.Windows.Controls.ItemsControl.EndInit()
System.Windows.Controls.ItemsControl.GetAlternationIndex(System.Windows.DependencyObject)
System.Windows.Controls.ItemsControl.GetItemsOwner(System.Windows.DependencyObject)
System.Windows.Controls.ItemsControl.IsItemItsOwnContainer(System.Object)
System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(System.Windows.DependencyObject)
System.Windows.Controls.ItemsControl.OnAlternationCountChanged(System.Int32, System.Int32)
System.Windows.Controls.ItemsControl.OnDisplayMemberPathChanged(System.String, System.String)
System.Windows.Controls.ItemsControl.OnGroupStyleSelectorChanged(System.Windows.Controls.GroupStyleSelector, System.Windows.Controls.GroupStyleSelector)
System.Windows.Controls.ItemsControl.OnItemBindingGroupChanged(System.Windows.Data.BindingGroup, System.Windows.Data.BindingGroup)
System.Windows.Controls.ItemsControl.OnItemContainerStyleChanged(System.Windows.Style, System.Windows.Style)
System.Windows.Controls.ItemsControl.OnItemContainerStyleSelectorChanged(System.Windows.Controls.StyleSelector, System.Windows.Controls.StyleSelector)
System.Windows.Controls.ItemsControl.OnItemsPanelChanged(System.Windows.Controls.ItemsPanelTemplate, System.Windows.Controls.ItemsPanelTemplate)
System.Windows.Controls.ItemsControl.OnItemStringFormatChanged(System.String, System.String)
System.Windows.Controls.ItemsControl.OnItemTemplateChanged(System.Windows.DataTemplate, System.Windows.DataTemplate)
System.Windows.Controls.ItemsControl.OnItemTemplateSelectorChanged(System.Windows.Controls.DataTemplateSelector, System.Windows.Controls.DataTemplateSelector)
System.Windows.Controls.ItemsControl.ShouldApplyItemContainerStyle(System.Windows.DependencyObject, System.Object)
System.Windows.Controls.ItemsControl.System.Windows.Controls.Primitives.IContainItemStorage.Clear()
System.Windows.Controls.ItemsControl.System.Windows.Controls.Primitives.IContainItemStorage.ClearItemValue(System.Object, System.Windows.DependencyProperty)
System.Windows.Controls.ItemsControl.System.Windows.Controls.Primitives.IContainItemStorage.ClearValue(System.Windows.DependencyProperty)
System.Windows.Controls.ItemsControl.System.Windows.Controls.Primitives.IContainItemStorage.ReadItemValue(System.Object, System.Windows.DependencyProperty)
System.Windows.Controls.ItemsControl.System.Windows.Controls.Primitives.IContainItemStorage.StoreItemValue(System.Object, System.Windows.DependencyProperty, System.Object)
System.Windows.Controls.ItemsControl.System.Windows.Markup.IAddChild.AddChild(System.Object)
System.Windows.Controls.ItemsControl.System.Windows.Markup.IAddChild.AddText(System.String)
System.Windows.Controls.ItemsControl.ToString()
System.Windows.Controls.ItemsControl.AlternationCount
System.Windows.Controls.ItemsControl.DisplayMemberPath
System.Windows.Controls.ItemsControl.GroupStyle
System.Windows.Controls.ItemsControl.GroupStyleSelector
System.Windows.Controls.ItemsControl.HasItems
System.Windows.Controls.ItemsControl.IsGrouping
System.Windows.Controls.ItemsControl.IsTextSearchCaseSensitive
System.Windows.Controls.ItemsControl.IsTextSearchEnabled
System.Windows.Controls.ItemsControl.ItemBindingGroup
System.Windows.Controls.ItemsControl.ItemContainerGenerator
System.Windows.Controls.ItemsControl.ItemContainerStyle
System.Windows.Controls.ItemsControl.ItemContainerStyleSelector
System.Windows.Controls.ItemsControl.Items
System.Windows.Controls.ItemsControl.ItemsPanel
System.Windows.Controls.ItemsControl.ItemsSource
System.Windows.Controls.ItemsControl.ItemStringFormat
System.Windows.Controls.ItemsControl.ItemTemplate
System.Windows.Controls.ItemsControl.ItemTemplateSelector
System.Windows.Controls.ItemsControl.LogicalChildren
System.Windows.Controls.Control.BackgroundProperty
System.Windows.Controls.Control.BorderBrushProperty
System.Windows.Controls.Control.BorderThicknessProperty
System.Windows.Controls.Control.FontFamilyProperty
System.Windows.Controls.Control.FontSizeProperty
System.Windows.Controls.Control.FontStretchProperty
System.Windows.Controls.Control.FontStyleProperty
System.Windows.Controls.Control.FontWeightProperty
System.Windows.Controls.Control.ForegroundProperty
System.Windows.Controls.Control.HorizontalContentAlignmentProperty
System.Windows.Controls.Control.IsTabStopProperty
System.Windows.Controls.Control.MouseDoubleClickEvent
System.Windows.Controls.Control.PaddingProperty
System.Windows.Controls.Control.PreviewMouseDoubleClickEvent
System.Windows.Controls.Control.TabIndexProperty
System.Windows.Controls.Control.TemplateProperty
System.Windows.Controls.Control.VerticalContentAlignmentProperty
System.Windows.Controls.Control.ArrangeOverride(System.Windows.Size)
System.Windows.Controls.Control.OnMouseDoubleClick(System.Windows.Input.MouseButtonEventArgs)
System.Windows.Controls.Control.OnPreviewMouseDoubleClick(System.Windows.Input.MouseButtonEventArgs)
System.Windows.Controls.Control.Background
System.Windows.Controls.Control.BorderBrush
System.Windows.Controls.Control.BorderThickness
System.Windows.Controls.Control.FontFamily
System.Windows.Controls.Control.FontSize
System.Windows.Controls.Control.FontStretch
System.Windows.Controls.Control.FontStyle
System.Windows.Controls.Control.FontWeight
System.Windows.Controls.Control.Foreground
System.Windows.Controls.Control.HorizontalContentAlignment
System.Windows.Controls.Control.IsTabStop
System.Windows.Controls.Control.Padding
System.Windows.Controls.Control.TabIndex
System.Windows.Controls.Control.Template
System.Windows.Controls.Control.VerticalContentAlignment
System.Windows.Controls.Control.MouseDoubleClick
System.Windows.Controls.Control.PreviewMouseDoubleClick
System.Windows.FrameworkElement.ActualHeightProperty
System.Windows.FrameworkElement.ActualWidthProperty
System.Windows.FrameworkElement.BindingGroupProperty
System.Windows.FrameworkElement.ContextMenuClosingEvent
System.Windows.FrameworkElement.ContextMenuOpeningEvent
System.Windows.FrameworkElement.ContextMenuProperty
System.Windows.FrameworkElement.CursorProperty
System.Windows.FrameworkElement.DataContextProperty
System.Windows.FrameworkElement.DefaultStyleKeyProperty
System.Windows.FrameworkElement.FlowDirectionProperty
System.Windows.FrameworkElement.FocusVisualStyleProperty
System.Windows.FrameworkElement.ForceCursorProperty
System.Windows.FrameworkElement.HeightProperty
System.Windows.FrameworkElement.HorizontalAlignmentProperty
System.Windows.FrameworkElement.InputScopeProperty
System.Windows.FrameworkElement.LanguageProperty
System.Windows.FrameworkElement.LayoutTransformProperty
System.Windows.FrameworkElement.LoadedEvent
System.Windows.FrameworkElement.MarginProperty
System.Windows.FrameworkElement.MaxHeightProperty
System.Windows.FrameworkElement.MaxWidthProperty
System.Windows.FrameworkElement.MinHeightProperty
System.Windows.FrameworkElement.MinWidthProperty
System.Windows.FrameworkElement.NameProperty
System.Windows.FrameworkElement.OverridesDefaultStyleProperty
System.Windows.FrameworkElement.RequestBringIntoViewEvent
System.Windows.FrameworkElement.SizeChangedEvent
System.Windows.FrameworkElement.StyleProperty
System.Windows.FrameworkElement.TagProperty
System.Windows.FrameworkElement.ToolTipClosingEvent
System.Windows.FrameworkElement.ToolTipOpeningEvent
System.Windows.FrameworkElement.ToolTipProperty
System.Windows.FrameworkElement.UnloadedEvent
System.Windows.FrameworkElement.UseLayoutRoundingProperty
System.Windows.FrameworkElement.VerticalAlignmentProperty
System.Windows.FrameworkElement.WidthProperty
System.Windows.FrameworkElement.AddLogicalChild(System.Object)
System.Windows.FrameworkElement.ApplyTemplate()
System.Windows.FrameworkElement.ArrangeCore(System.Windows.Rect)
System.Windows.FrameworkElement.BeginStoryboard(System.Windows.Media.Animation.Storyboard)
System.Windows.FrameworkElement.BeginStoryboard(System.Windows.Media.Animation.Storyboard, System.Windows.Media.Animation.HandoffBehavior)
System.Windows.FrameworkElement.BeginStoryboard(System.Windows.Media.Animation.Storyboard, System.Windows.Media.Animation.HandoffBehavior, System.Boolean)
System.Windows.FrameworkElement.BringIntoView()
System.Windows.FrameworkElement.BringIntoView(System.Windows.Rect)
System.Windows.FrameworkElement.FindName(System.String)
System.Windows.FrameworkElement.FindResource(System.Object)
System.Windows.FrameworkElement.GetBindingExpression(System.Windows.DependencyProperty)
System.Windows.FrameworkElement.GetFlowDirection(System.Windows.DependencyObject)
System.Windows.FrameworkElement.GetLayoutClip(System.Windows.Size)
System.Windows.FrameworkElement.GetTemplateChild(System.String)
System.Windows.FrameworkElement.GetUIParentCore()
System.Windows.FrameworkElement.GetVisualChild(System.Int32)
System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
System.Windows.FrameworkElement.MoveFocus(System.Windows.Input.TraversalRequest)
System.Windows.FrameworkElement.OnContextMenuClosing(System.Windows.Controls.ContextMenuEventArgs)
System.Windows.FrameworkElement.OnGotFocus(System.Windows.RoutedEventArgs)
System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.FrameworkElement.OnRenderSizeChanged(System.Windows.SizeChangedInfo)
System.Windows.FrameworkElement.OnStyleChanged(System.Windows.Style, System.Windows.Style)
System.Windows.FrameworkElement.OnToolTipClosing(System.Windows.Controls.ToolTipEventArgs)
System.Windows.FrameworkElement.OnToolTipOpening(System.Windows.Controls.ToolTipEventArgs)
System.Windows.FrameworkElement.OnVisualParentChanged(System.Windows.DependencyObject)
System.Windows.FrameworkElement.ParentLayoutInvalidated(System.Windows.UIElement)
System.Windows.FrameworkElement.PredictFocus(System.Windows.Input.FocusNavigationDirection)
System.Windows.FrameworkElement.RegisterName(System.String, System.Object)
System.Windows.FrameworkElement.RemoveLogicalChild(System.Object)
System.Windows.FrameworkElement.SetBinding(System.Windows.DependencyProperty, System.String)
System.Windows.FrameworkElement.SetBinding(System.Windows.DependencyProperty, System.Windows.Data.BindingBase)
System.Windows.FrameworkElement.SetFlowDirection(System.Windows.DependencyObject, System.Windows.FlowDirection)
System.Windows.FrameworkElement.SetResourceReference(System.Windows.DependencyProperty, System.Object)
System.Windows.FrameworkElement.System.Windows.Markup.IQueryAmbient.IsAmbientPropertyAvailable(System.String)
System.Windows.FrameworkElement.TryFindResource(System.Object)
System.Windows.FrameworkElement.UnregisterName(System.String)
System.Windows.FrameworkElement.UpdateDefaultStyle()
System.Windows.FrameworkElement.ActualHeight
System.Windows.FrameworkElement.ActualWidth
System.Windows.FrameworkElement.BindingGroup
System.Windows.FrameworkElement.ContextMenu
System.Windows.FrameworkElement.Cursor
System.Windows.FrameworkElement.DataContext
System.Windows.FrameworkElement.DefaultStyleKey
System.Windows.FrameworkElement.FlowDirection
System.Windows.FrameworkElement.FocusVisualStyle
System.Windows.FrameworkElement.ForceCursor
System.Windows.FrameworkElement.Height
System.Windows.FrameworkElement.HorizontalAlignment
System.Windows.FrameworkElement.InheritanceBehavior
System.Windows.FrameworkElement.InputScope
System.Windows.FrameworkElement.IsInitialized
System.Windows.FrameworkElement.IsLoaded
System.Windows.FrameworkElement.Language
System.Windows.FrameworkElement.LayoutTransform
System.Windows.FrameworkElement.Margin
System.Windows.FrameworkElement.MaxHeight
System.Windows.FrameworkElement.MaxWidth
System.Windows.FrameworkElement.MinHeight
System.Windows.FrameworkElement.MinWidth
System.Windows.FrameworkElement.Name
System.Windows.FrameworkElement.OverridesDefaultStyle
System.Windows.FrameworkElement.Parent
System.Windows.FrameworkElement.Resources
System.Windows.FrameworkElement.Style
System.Windows.FrameworkElement.Tag
System.Windows.FrameworkElement.TemplatedParent
System.Windows.FrameworkElement.ToolTip
System.Windows.FrameworkElement.Triggers
System.Windows.FrameworkElement.UseLayoutRounding
System.Windows.FrameworkElement.VerticalAlignment
System.Windows.FrameworkElement.VisualChildrenCount
System.Windows.FrameworkElement.Width
System.Windows.FrameworkElement.ContextMenuClosing
System.Windows.FrameworkElement.ContextMenuOpening
System.Windows.FrameworkElement.DataContextChanged
System.Windows.FrameworkElement.Initialized
System.Windows.FrameworkElement.Loaded
System.Windows.FrameworkElement.RequestBringIntoView
System.Windows.FrameworkElement.SizeChanged
System.Windows.FrameworkElement.SourceUpdated
System.Windows.FrameworkElement.TargetUpdated
System.Windows.FrameworkElement.ToolTipClosing
System.Windows.FrameworkElement.ToolTipOpening
System.Windows.FrameworkElement.Unloaded
System.Windows.UIElement.AllowDropProperty
System.Windows.UIElement.AreAnyTouchesCapturedProperty
System.Windows.UIElement.AreAnyTouchesCapturedWithinProperty
System.Windows.UIElement.AreAnyTouchesDirectlyOverProperty
System.Windows.UIElement.AreAnyTouchesOverProperty
System.Windows.UIElement.BitmapEffectInputProperty
System.Windows.UIElement.BitmapEffectProperty
System.Windows.UIElement.CacheModeProperty
System.Windows.UIElement.ClipProperty
System.Windows.UIElement.ClipToBoundsProperty
System.Windows.UIElement.DragEnterEvent
System.Windows.UIElement.DragLeaveEvent
System.Windows.UIElement.DragOverEvent
System.Windows.UIElement.DropEvent
System.Windows.UIElement.EffectProperty
System.Windows.UIElement.FocusableProperty
System.Windows.UIElement.GiveFeedbackEvent
System.Windows.UIElement.GotFocusEvent
System.Windows.UIElement.GotKeyboardFocusEvent
System.Windows.UIElement.GotMouseCaptureEvent
System.Windows.UIElement.GotStylusCaptureEvent
System.Windows.UIElement.GotTouchCaptureEvent
System.Windows.UIElement.IsEnabledProperty
System.Windows.UIElement.IsFocusedProperty
System.Windows.UIElement.IsHitTestVisibleProperty
System.Windows.UIElement.IsKeyboardFocusedProperty
System.Windows.UIElement.IsKeyboardFocusWithinProperty
System.Windows.UIElement.IsManipulationEnabledProperty
System.Windows.UIElement.IsMouseCapturedProperty
System.Windows.UIElement.IsMouseCaptureWithinProperty
System.Windows.UIElement.IsMouseDirectlyOverProperty
System.Windows.UIElement.IsMouseOverProperty
System.Windows.UIElement.IsStylusCapturedProperty
System.Windows.UIElement.IsStylusCaptureWithinProperty
System.Windows.UIElement.IsStylusDirectlyOverProperty
System.Windows.UIElement.IsStylusOverProperty
System.Windows.UIElement.IsVisibleProperty
System.Windows.UIElement.KeyDownEvent
System.Windows.UIElement.KeyUpEvent
System.Windows.UIElement.LostFocusEvent
System.Windows.UIElement.LostKeyboardFocusEvent
System.Windows.UIElement.LostMouseCaptureEvent
System.Windows.UIElement.LostStylusCaptureEvent
System.Windows.UIElement.LostTouchCaptureEvent
System.Windows.UIElement.ManipulationBoundaryFeedbackEvent
System.Windows.UIElement.ManipulationCompletedEvent
System.Windows.UIElement.ManipulationDeltaEvent
System.Windows.UIElement.ManipulationInertiaStartingEvent
System.Windows.UIElement.ManipulationStartedEvent
System.Windows.UIElement.ManipulationStartingEvent
System.Windows.UIElement.MouseDownEvent
System.Windows.UIElement.MouseEnterEvent
System.Windows.UIElement.MouseLeaveEvent
System.Windows.UIElement.MouseLeftButtonDownEvent
System.Windows.UIElement.MouseLeftButtonUpEvent
System.Windows.UIElement.MouseMoveEvent
System.Windows.UIElement.MouseRightButtonDownEvent
System.Windows.UIElement.MouseRightButtonUpEvent
System.Windows.UIElement.MouseUpEvent
System.Windows.UIElement.MouseWheelEvent
System.Windows.UIElement.OpacityMaskProperty
System.Windows.UIElement.OpacityProperty
System.Windows.UIElement.PreviewDragEnterEvent
System.Windows.UIElement.PreviewDragLeaveEvent
System.Windows.UIElement.PreviewDragOverEvent
System.Windows.UIElement.PreviewDropEvent
System.Windows.UIElement.PreviewGiveFeedbackEvent
System.Windows.UIElement.PreviewGotKeyboardFocusEvent
System.Windows.UIElement.PreviewKeyDownEvent
System.Windows.UIElement.PreviewKeyUpEvent
System.Windows.UIElement.PreviewLostKeyboardFocusEvent
System.Windows.UIElement.PreviewMouseDownEvent
System.Windows.UIElement.PreviewMouseLeftButtonDownEvent
System.Windows.UIElement.PreviewMouseLeftButtonUpEvent
System.Windows.UIElement.PreviewMouseMoveEvent
System.Windows.UIElement.PreviewMouseRightButtonDownEvent
System.Windows.UIElement.PreviewMouseRightButtonUpEvent
System.Windows.UIElement.PreviewMouseUpEvent
System.Windows.UIElement.PreviewMouseWheelEvent
System.Windows.UIElement.PreviewQueryContinueDragEvent
System.Windows.UIElement.PreviewStylusButtonDownEvent
System.Windows.UIElement.PreviewStylusButtonUpEvent
System.Windows.UIElement.PreviewStylusDownEvent
System.Windows.UIElement.PreviewStylusInAirMoveEvent
System.Windows.UIElement.PreviewStylusInRangeEvent
System.Windows.UIElement.PreviewStylusMoveEvent
System.Windows.UIElement.PreviewStylusOutOfRangeEvent
System.Windows.UIElement.PreviewStylusSystemGestureEvent
System.Windows.UIElement.PreviewStylusUpEvent
System.Windows.UIElement.PreviewTextInputEvent
System.Windows.UIElement.PreviewTouchDownEvent
System.Windows.UIElement.PreviewTouchMoveEvent
System.Windows.UIElement.PreviewTouchUpEvent
System.Windows.UIElement.QueryContinueDragEvent
System.Windows.UIElement.QueryCursorEvent
System.Windows.UIElement.RenderTransformOriginProperty
System.Windows.UIElement.RenderTransformProperty
System.Windows.UIElement.SnapsToDevicePixelsProperty
System.Windows.UIElement.StylusButtonDownEvent
System.Windows.UIElement.StylusButtonUpEvent
System.Windows.UIElement.StylusDownEvent
System.Windows.UIElement.StylusEnterEvent
System.Windows.UIElement.StylusInAirMoveEvent
System.Windows.UIElement.StylusInRangeEvent
System.Windows.UIElement.StylusLeaveEvent
System.Windows.UIElement.StylusMoveEvent
System.Windows.UIElement.StylusOutOfRangeEvent
System.Windows.UIElement.StylusSystemGestureEvent
System.Windows.UIElement.StylusUpEvent
System.Windows.UIElement.TextInputEvent
System.Windows.UIElement.TouchDownEvent
System.Windows.UIElement.TouchEnterEvent
System.Windows.UIElement.TouchLeaveEvent
System.Windows.UIElement.TouchMoveEvent
System.Windows.UIElement.TouchUpEvent
System.Windows.UIElement.UidProperty
System.Windows.UIElement.VisibilityProperty
System.Windows.UIElement.AddHandler(System.Windows.RoutedEvent, System.Delegate)
System.Windows.UIElement.AddHandler(System.Windows.RoutedEvent, System.Delegate, System.Boolean)
System.Windows.UIElement.AddToEventRoute(System.Windows.EventRoute, System.Windows.RoutedEventArgs)
System.Windows.UIElement.ApplyAnimationClock(System.Windows.DependencyProperty, System.Windows.Media.Animation.AnimationClock)
System.Windows.UIElement.ApplyAnimationClock(System.Windows.DependencyProperty, System.Windows.Media.Animation.AnimationClock, System.Windows.Media.Animation.HandoffBehavior)
System.Windows.UIElement.Arrange(System.Windows.Rect)
System.Windows.UIElement.BeginAnimation(System.Windows.DependencyProperty, System.Windows.Media.Animation.AnimationTimeline)
System.Windows.UIElement.BeginAnimation(System.Windows.DependencyProperty, System.Windows.Media.Animation.AnimationTimeline, System.Windows.Media.Animation.HandoffBehavior)
System.Windows.UIElement.CaptureMouse()
System.Windows.UIElement.CaptureStylus()
System.Windows.UIElement.CaptureTouch(System.Windows.Input.TouchDevice)
System.Windows.UIElement.Focus()
System.Windows.UIElement.GetAnimationBaseValue(System.Windows.DependencyProperty)
System.Windows.UIElement.HitTestCore(System.Windows.Media.GeometryHitTestParameters)
System.Windows.UIElement.HitTestCore(System.Windows.Media.PointHitTestParameters)
System.Windows.UIElement.InputHitTest(System.Windows.Point)
System.Windows.UIElement.InvalidateArrange()
System.Windows.UIElement.InvalidateMeasure()
System.Windows.UIElement.InvalidateVisual()
System.Windows.UIElement.Measure(System.Windows.Size)
System.Windows.UIElement.OnAccessKey(System.Windows.Input.AccessKeyEventArgs)
System.Windows.UIElement.OnChildDesiredSizeChanged(System.Windows.UIElement)
System.Windows.UIElement.OnDragEnter(System.Windows.DragEventArgs)
System.Windows.UIElement.OnDragLeave(System.Windows.DragEventArgs)
System.Windows.UIElement.OnDragOver(System.Windows.DragEventArgs)
System.Windows.UIElement.OnDrop(System.Windows.DragEventArgs)
System.Windows.UIElement.OnGiveFeedback(System.Windows.GiveFeedbackEventArgs)
System.Windows.UIElement.OnGotKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs)
System.Windows.UIElement.OnGotMouseCapture(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnGotStylusCapture(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnGotTouchCapture(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnIsKeyboardFocusedChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsMouseCaptureWithinChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsMouseDirectlyOverChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsStylusCapturedChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsStylusCaptureWithinChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsStylusDirectlyOverChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnKeyUp(System.Windows.Input.KeyEventArgs)
System.Windows.UIElement.OnLostFocus(System.Windows.RoutedEventArgs)
System.Windows.UIElement.OnLostKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs)
System.Windows.UIElement.OnLostMouseCapture(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnLostStylusCapture(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnLostTouchCapture(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnManipulationBoundaryFeedback(System.Windows.Input.ManipulationBoundaryFeedbackEventArgs)
System.Windows.UIElement.OnManipulationCompleted(System.Windows.Input.ManipulationCompletedEventArgs)
System.Windows.UIElement.OnManipulationDelta(System.Windows.Input.ManipulationDeltaEventArgs)
System.Windows.UIElement.OnManipulationInertiaStarting(System.Windows.Input.ManipulationInertiaStartingEventArgs)
System.Windows.UIElement.OnManipulationStarted(System.Windows.Input.ManipulationStartedEventArgs)
System.Windows.UIElement.OnManipulationStarting(System.Windows.Input.ManipulationStartingEventArgs)
System.Windows.UIElement.OnMouseDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseEnter(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnMouseLeave(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseRightButtonDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseRightButtonUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseWheel(System.Windows.Input.MouseWheelEventArgs)
System.Windows.UIElement.OnPreviewDragEnter(System.Windows.DragEventArgs)
System.Windows.UIElement.OnPreviewDragLeave(System.Windows.DragEventArgs)
System.Windows.UIElement.OnPreviewDragOver(System.Windows.DragEventArgs)
System.Windows.UIElement.OnPreviewDrop(System.Windows.DragEventArgs)
System.Windows.UIElement.OnPreviewGiveFeedback(System.Windows.GiveFeedbackEventArgs)
System.Windows.UIElement.OnPreviewGotKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs)
System.Windows.UIElement.OnPreviewKeyUp(System.Windows.Input.KeyEventArgs)
System.Windows.UIElement.OnPreviewLostKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs)
System.Windows.UIElement.OnPreviewMouseDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnPreviewMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnPreviewMouseMove(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnPreviewMouseRightButtonDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnPreviewMouseUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnPreviewMouseWheel(System.Windows.Input.MouseWheelEventArgs)
System.Windows.UIElement.OnPreviewQueryContinueDrag(System.Windows.QueryContinueDragEventArgs)
System.Windows.UIElement.OnPreviewStylusButtonDown(System.Windows.Input.StylusButtonEventArgs)
System.Windows.UIElement.OnPreviewStylusButtonUp(System.Windows.Input.StylusButtonEventArgs)
System.Windows.UIElement.OnPreviewStylusDown(System.Windows.Input.StylusDownEventArgs)
System.Windows.UIElement.OnPreviewStylusInAirMove(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnPreviewStylusInRange(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnPreviewStylusMove(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnPreviewStylusOutOfRange(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnPreviewStylusSystemGesture(System.Windows.Input.StylusSystemGestureEventArgs)
System.Windows.UIElement.OnPreviewStylusUp(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnPreviewTextInput(System.Windows.Input.TextCompositionEventArgs)
System.Windows.UIElement.OnPreviewTouchDown(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnPreviewTouchMove(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnPreviewTouchUp(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnQueryContinueDrag(System.Windows.QueryContinueDragEventArgs)
System.Windows.UIElement.OnQueryCursor(System.Windows.Input.QueryCursorEventArgs)
System.Windows.UIElement.OnRender(System.Windows.Media.DrawingContext)
System.Windows.UIElement.OnStylusButtonDown(System.Windows.Input.StylusButtonEventArgs)
System.Windows.UIElement.OnStylusButtonUp(System.Windows.Input.StylusButtonEventArgs)
System.Windows.UIElement.OnStylusDown(System.Windows.Input.StylusDownEventArgs)
System.Windows.UIElement.OnStylusEnter(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusInAirMove(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusInRange(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusLeave(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusMove(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusOutOfRange(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusSystemGesture(System.Windows.Input.StylusSystemGestureEventArgs)
System.Windows.UIElement.OnStylusUp(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnTouchDown(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnTouchEnter(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnTouchLeave(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnTouchMove(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnTouchUp(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs)
System.Windows.UIElement.ReleaseAllTouchCaptures()
System.Windows.UIElement.ReleaseMouseCapture()
System.Windows.UIElement.ReleaseStylusCapture()
System.Windows.UIElement.ReleaseTouchCapture(System.Windows.Input.TouchDevice)
System.Windows.UIElement.RemoveHandler(System.Windows.RoutedEvent, System.Delegate)
System.Windows.UIElement.TranslatePoint(System.Windows.Point, System.Windows.UIElement)
System.Windows.UIElement.UpdateLayout()
System.Windows.UIElement.AllowDrop
System.Windows.UIElement.AreAnyTouchesCaptured
System.Windows.UIElement.AreAnyTouchesCapturedWithin
System.Windows.UIElement.AreAnyTouchesDirectlyOver
System.Windows.UIElement.AreAnyTouchesOver
System.Windows.UIElement.BitmapEffect
System.Windows.UIElement.BitmapEffectInput
System.Windows.UIElement.CacheMode
System.Windows.UIElement.Clip
System.Windows.UIElement.ClipToBounds
System.Windows.UIElement.CommandBindings
System.Windows.UIElement.DesiredSize
System.Windows.UIElement.Effect
System.Windows.UIElement.Focusable
System.Windows.UIElement.HasAnimatedProperties
System.Windows.UIElement.HasEffectiveKeyboardFocus
System.Windows.UIElement.InputBindings
System.Windows.UIElement.IsArrangeValid
System.Windows.UIElement.IsEnabled
System.Windows.UIElement.IsEnabledCore
System.Windows.UIElement.IsFocused
System.Windows.UIElement.IsHitTestVisible
System.Windows.UIElement.IsInputMethodEnabled
System.Windows.UIElement.IsKeyboardFocused
System.Windows.UIElement.IsKeyboardFocusWithin
System.Windows.UIElement.IsManipulationEnabled
System.Windows.UIElement.IsMeasureValid
System.Windows.UIElement.IsMouseCaptured
System.Windows.UIElement.IsMouseCaptureWithin
System.Windows.UIElement.IsMouseDirectlyOver
System.Windows.UIElement.IsMouseOver
System.Windows.UIElement.IsStylusCaptured
System.Windows.UIElement.IsStylusCaptureWithin
System.Windows.UIElement.IsStylusDirectlyOver
System.Windows.UIElement.IsStylusOver
System.Windows.UIElement.IsVisible
System.Windows.UIElement.Opacity
System.Windows.UIElement.OpacityMask
System.Windows.UIElement.PersistId
System.Windows.UIElement.RenderSize
System.Windows.UIElement.RenderTransform
System.Windows.UIElement.RenderTransformOrigin
System.Windows.UIElement.SnapsToDevicePixels
System.Windows.UIElement.StylusPlugIns
System.Windows.UIElement.TouchesCaptured
System.Windows.UIElement.TouchesCapturedWithin
System.Windows.UIElement.TouchesDirectlyOver
System.Windows.UIElement.TouchesOver
System.Windows.UIElement.Uid
System.Windows.UIElement.Visibility
System.Windows.UIElement.DragEnter
System.Windows.UIElement.DragLeave
System.Windows.UIElement.DragOver
System.Windows.UIElement.Drop
System.Windows.UIElement.FocusableChanged
System.Windows.UIElement.GiveFeedback
System.Windows.UIElement.GotFocus
System.Windows.UIElement.GotKeyboardFocus
System.Windows.UIElement.GotMouseCapture
System.Windows.UIElement.GotStylusCapture
System.Windows.UIElement.GotTouchCapture
System.Windows.UIElement.IsEnabledChanged
System.Windows.UIElement.IsHitTestVisibleChanged
System.Windows.UIElement.IsKeyboardFocusedChanged
System.Windows.UIElement.IsKeyboardFocusWithinChanged
System.Windows.UIElement.IsMouseCapturedChanged
System.Windows.UIElement.IsMouseCaptureWithinChanged
System.Windows.UIElement.IsMouseDirectlyOverChanged
System.Windows.UIElement.IsStylusCapturedChanged
System.Windows.UIElement.IsStylusCaptureWithinChanged
System.Windows.UIElement.IsStylusDirectlyOverChanged
System.Windows.UIElement.IsVisibleChanged
System.Windows.UIElement.KeyDown
System.Windows.UIElement.KeyUp
System.Windows.UIElement.LayoutUpdated
System.Windows.UIElement.LostFocus
System.Windows.UIElement.LostKeyboardFocus
System.Windows.UIElement.LostMouseCapture
System.Windows.UIElement.LostStylusCapture
System.Windows.UIElement.LostTouchCapture
System.Windows.UIElement.ManipulationBoundaryFeedback
System.Windows.UIElement.ManipulationCompleted
System.Windows.UIElement.ManipulationDelta
System.Windows.UIElement.ManipulationInertiaStarting
System.Windows.UIElement.ManipulationStarted
System.Windows.UIElement.ManipulationStarting
System.Windows.UIElement.MouseDown
System.Windows.UIElement.MouseEnter
System.Windows.UIElement.MouseLeave
System.Windows.UIElement.MouseLeftButtonDown
System.Windows.UIElement.MouseLeftButtonUp
System.Windows.UIElement.MouseMove
System.Windows.UIElement.MouseRightButtonDown
System.Windows.UIElement.MouseRightButtonUp
System.Windows.UIElement.MouseUp
System.Windows.UIElement.MouseWheel
System.Windows.UIElement.PreviewDragEnter
System.Windows.UIElement.PreviewDragLeave
System.Windows.UIElement.PreviewDragOver
System.Windows.UIElement.PreviewDrop
System.Windows.UIElement.PreviewGiveFeedback
System.Windows.UIElement.PreviewGotKeyboardFocus
System.Windows.UIElement.PreviewKeyDown
System.Windows.UIElement.PreviewKeyUp
System.Windows.UIElement.PreviewLostKeyboardFocus
System.Windows.UIElement.PreviewMouseDown
System.Windows.UIElement.PreviewMouseLeftButtonDown
System.Windows.UIElement.PreviewMouseLeftButtonUp
System.Windows.UIElement.PreviewMouseMove
System.Windows.UIElement.PreviewMouseRightButtonDown
System.Windows.UIElement.PreviewMouseRightButtonUp
System.Windows.UIElement.PreviewMouseUp
System.Windows.UIElement.PreviewMouseWheel
System.Windows.UIElement.PreviewQueryContinueDrag
System.Windows.UIElement.PreviewStylusButtonDown
System.Windows.UIElement.PreviewStylusButtonUp
System.Windows.UIElement.PreviewStylusDown
System.Windows.UIElement.PreviewStylusInAirMove
System.Windows.UIElement.PreviewStylusInRange
System.Windows.UIElement.PreviewStylusMove
System.Windows.UIElement.PreviewStylusOutOfRange
System.Windows.UIElement.PreviewStylusSystemGesture
System.Windows.UIElement.PreviewStylusUp
System.Windows.UIElement.PreviewTextInput
System.Windows.UIElement.PreviewTouchDown
System.Windows.UIElement.PreviewTouchMove
System.Windows.UIElement.PreviewTouchUp
System.Windows.UIElement.QueryContinueDrag
System.Windows.UIElement.QueryCursor
System.Windows.UIElement.StylusButtonDown
System.Windows.UIElement.StylusButtonUp
System.Windows.UIElement.StylusDown
System.Windows.UIElement.StylusEnter
System.Windows.UIElement.StylusInAirMove
System.Windows.UIElement.StylusInRange
System.Windows.UIElement.StylusLeave
System.Windows.UIElement.StylusMove
System.Windows.UIElement.StylusOutOfRange
System.Windows.UIElement.StylusSystemGesture
System.Windows.UIElement.StylusUp
System.Windows.UIElement.TextInput
System.Windows.UIElement.TouchDown
System.Windows.UIElement.TouchEnter
System.Windows.UIElement.TouchLeave
System.Windows.UIElement.TouchMove
System.Windows.UIElement.TouchUp
System.Windows.Media.Visual.AddVisualChild(System.Windows.Media.Visual)
System.Windows.Media.Visual.FindCommonVisualAncestor(System.Windows.DependencyObject)
System.Windows.Media.Visual.IsAncestorOf(System.Windows.DependencyObject)
System.Windows.Media.Visual.IsDescendantOf(System.Windows.DependencyObject)
System.Windows.Media.Visual.OnDpiChanged(System.Windows.DpiScale, System.Windows.DpiScale)
System.Windows.Media.Visual.OnVisualChildrenChanged(System.Windows.DependencyObject, System.Windows.DependencyObject)
System.Windows.Media.Visual.PointFromScreen(System.Windows.Point)
System.Windows.Media.Visual.PointToScreen(System.Windows.Point)
System.Windows.Media.Visual.RemoveVisualChild(System.Windows.Media.Visual)
System.Windows.Media.Visual.TransformToAncestor(System.Windows.Media.Media3D.Visual3D)
System.Windows.Media.Visual.TransformToAncestor(System.Windows.Media.Visual)
System.Windows.Media.Visual.TransformToDescendant(System.Windows.Media.Visual)
System.Windows.Media.Visual.TransformToVisual(System.Windows.Media.Visual)
System.Windows.Media.Visual.VisualBitmapEffect
System.Windows.Media.Visual.VisualBitmapEffectInput
System.Windows.Media.Visual.VisualBitmapScalingMode
System.Windows.Media.Visual.VisualCacheMode
System.Windows.Media.Visual.VisualClearTypeHint
System.Windows.Media.Visual.VisualClip
System.Windows.Media.Visual.VisualEdgeMode
System.Windows.Media.Visual.VisualEffect
System.Windows.Media.Visual.VisualOffset
System.Windows.Media.Visual.VisualOpacity
System.Windows.Media.Visual.VisualOpacityMask
System.Windows.Media.Visual.VisualParent
System.Windows.Media.Visual.VisualScrollableAreaClip
System.Windows.Media.Visual.VisualTextHintingMode
System.Windows.Media.Visual.VisualTextRenderingMode
System.Windows.Media.Visual.VisualTransform
System.Windows.Media.Visual.VisualXSnappingGuidelines
System.Windows.Media.Visual.VisualYSnappingGuidelines
System.Windows.DependencyObject.ClearValue(System.Windows.DependencyProperty)
System.Windows.DependencyObject.ClearValue(System.Windows.DependencyPropertyKey)
System.Windows.DependencyObject.CoerceValue(System.Windows.DependencyProperty)
System.Windows.DependencyObject.Equals(System.Object)
System.Windows.DependencyObject.GetHashCode()
System.Windows.DependencyObject.GetLocalValueEnumerator()
System.Windows.DependencyObject.GetValue(System.Windows.DependencyProperty)
System.Windows.DependencyObject.InvalidateProperty(System.Windows.DependencyProperty)
System.Windows.DependencyObject.ReadLocalValue(System.Windows.DependencyProperty)
System.Windows.DependencyObject.SetCurrentValue(System.Windows.DependencyProperty, System.Object)
System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object)
System.Windows.DependencyObject.SetValue(System.Windows.DependencyPropertyKey, System.Object)
System.Windows.DependencyObject.ShouldSerializeProperty(System.Windows.DependencyProperty)
System.Windows.DependencyObject.DependencyObjectType
System.Windows.DependencyObject.IsSealed
System.Windows.Threading.DispatcherObject.Dispatcher
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
[TemplatePart(Name = "PART_ScrollViewer", Type = typeof(ScrollViewer))]
public class DataGrid : DataGrid, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild
Remarks

The Grid and it's children are heavily dependent on each other. This is quite a bad architecture but that is the way Microsoft build the System.Windows.Controls.DataGrid. This was not improved here because this would come near a complete own implementation of a DataGrid.

The DataGrid does not allow resizing of columns by the user when in stacked header mode (MaxHeaderStackCount > 1).

The grid uses DataGridRows, DataGridColumnHeadersPresenter, DataGridCellsPanel and DataGridColumnHeader instead of the respective classes from System.Windows.Controls. Keep this in mind when styling rows and providing styles for the grid.

You can use PreventSelectionReset to prevent the reset of the complete selection when changing System.Windows.Controls.DataGrid.SelectionUnit. When changing the System.Windows.Controls.DataGrid.SelectionUnit the selection will be cleared and loaded again. So the selection will be empty for a short amount of time.

Examples

The following example shows how to use MaxNumberOfSelectableItems to limit the maximum selectable rows to 5.

        <SAF:DataGrid MaxNumberOfSelectableItems="5"
                  ItemsSource="{Binding Items}">
        <DataGrid.Columns>
            <DataGridTextColumn Binding="{Binding Name}" />
            <DataGridTextColumn Binding="{Binding Description}" />
        </DataGrid.Columns>
    </SAF:DataGrid>

The following example shows how to configure the grid for fixed row heights and distribution of row height among grouped cells. When no columns are grouped the cell height will be 90. When max 2 columns are grouped the cell height will be 45 and with 3 columns grouped 30.

        <SAF:DataGrid MaxHeaderStackCount="3"
                  DistributeStackHeight="True"
                  RowHeight="90"
                  ColumnPickerCommand="{Binding ColumnPickerCommand}"
                  ItemsSource="{Binding Items}">
        <DataGrid.Columns>
            <DataGridTextColumn Binding="{Binding Name}" />
            <DataGridTextColumn Binding="{Binding Description}" />
            <!-- Some more columns so column grouping becomes useful -->
        </DataGrid.Columns>
    </SAF:DataGrid>

The following example shows how to configure the grid for fixed cell heights. The row height will be equal to CurrentHeaderStackCount times System.Windows.Controls.DataGrid.MinRowHeight. Use System.Windows.Controls.DataGrid.MinRowHeight to define the fixed height of the sub rows (= cell height).

        <SAF:DataGrid MaxHeaderStackCount="3"
                  MinRowHeight="30"
                  ItemsSource="{Binding Items}">
        <DataGrid.Columns>
            <DataGridTextColumn Binding="{Binding Name}" />
            <DataGridTextColumn Binding="{Binding Description}" />
            <!-- Some more columns so column grouping becomes useful -->
        </DataGrid.Columns>
    </SAF:DataGrid>

The following example shows styling for rows supporting switching of MaxHeaderStackCount from 1 to greater values.

        <SAF:DoubleComparisonToBooleanConverter x:Key="DoubleIsGreaterThanConverter" ComparisonType="GreaterThan" />

    <Style x:Key="RowStyle" TargetType="{x:Type DataGridRow}">
        <!-- style for a MaxHeaderRowCount == 1 -->
    </Style>

    <Style x:Key="MultiRowStyle" TargetType="{x:Type SAF:DataGridRow}">
        <!-- style for a MaxHeaderRowCount > 1 -->
    </Style>

    <Style x:Key="DataGridStyle" TargetType="{x:Type SAF:DataGrid}">
        <Setter Property="RowStyle" Value="{StaticResource RowStyle}" />
        <Style.Triggers>
            <DataTrigger
                Binding="{Binding MaxHeaderStackCount, RelativeSource={RelativeSource Self}, Converter={StaticResource DoubleIsGreaterThanConverter}, ConverterParameter=1}"
                Value="True">
                <Setter Property="RowStyle" Value="{StaticResource MultiRowStyle}" />
                <!-- Resizing of columns does currently not work well with multi row header -->
                <Setter Property="CanUserResizeColumns" Value="False" />
            </DataTrigger>
        </Style.Triggers>
    </Style>

The following example shows how to provide background colors for the sub row backgrounds

        <Style x:Key="MultiHeader_RowStyle" TargetType="{x:Type SAF:DataGridRow}">
        <Setter Property="RowBackgroundBrushes">
            <Setter.Value>
                <x:Array Type="Brush">
                    <SolidColorBrush Color="{DynamicResource BG_S36}" />
                    <SolidColorBrush Color="{DynamicResource BG_S37}" />
                    <SolidColorBrush Color="{DynamicResource BG_S03}" />
                </x:Array>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <!-- provide different colors when 2 subrows are shown -->
            <Trigger Property="CurrentRowCount" Value="2">
                <Setter Property="RowBackgroundBrushes">
                    <Setter.Value>
                        <x:Array Type="Brush">
                            <SolidColorBrush Color="{DynamicResource BG_S36}" />
                            <SolidColorBrush Color="{DynamicResource BG_S03}" />
                        </x:Array>
                    </Setter.Value>
                </Setter>
            </Trigger>
        </Style.Triggers>
    </Style>

Constructors

View Source

DataGrid()

Initializes a new instance of the DataGrid class.

Declaration
public DataGrid()

Fields

View Source

ActualHeaderHeightProperty

Identifies the ActualHeaderHeight dependency property.

Declaration
public static readonly DependencyProperty ActualHeaderHeightProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

ColumnHeaderRowHeightProperty

Identifies the System.Windows.DependencyProperty for ColumnHeaderRowHeight.

Declaration
public static readonly DependencyProperty ColumnHeaderRowHeightProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

ColumnPickerCommandProperty

Identifies the System.Windows.DependencyProperty for ColumnPickerCommand.

Declaration
public static readonly DependencyProperty ColumnPickerCommandProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

ColumnPickerHeaderProperty

defines the header text of a control (for instance the selection overlay) that can be used to replace columns of the DataGrid

Declaration
public static readonly DependencyProperty ColumnPickerHeaderProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

ColumnReplacerHeaderProperty

defines the header text of a control (for instance the selection overlay) that can be used to show/hide columns of the DataGrid

Declaration
public static readonly DependencyProperty ColumnReplacerHeaderProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

ContentTypeProperty

Identifies the System.Windows.DependencyProperty for ContentType.

Declaration
public static readonly DependencyProperty ContentTypeProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

CurrentHeaderRowCountProperty

Identifies the System.Windows.DependencyProperty for CurrentHeaderRowCount.

Declaration
[Obsolete("Use CurrentHeaderStackCount instead")]
public static readonly DependencyProperty CurrentHeaderRowCountProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

CurrentHeaderRowCountPropertyKey

Identifies the System.Windows.DependencyPropertyKey for CurrentHeaderRowCount.

Declaration
[Obsolete("Use CurrentHeaderStackCount instead")]
protected static readonly DependencyPropertyKey CurrentHeaderRowCountPropertyKey
Field Value
Type Description
System.Windows.DependencyPropertyKey
View Source

CurrentHeaderStackCountProperty

Identifies the System.Windows.DependencyProperty for CurrentHeaderStackCount.

Declaration
public static readonly DependencyProperty CurrentHeaderStackCountProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

CurrentHeaderStackCountPropertyKey

Identifies the System.Windows.DependencyPropertyKey for CurrentHeaderStackCount.

Declaration
protected static readonly DependencyPropertyKey CurrentHeaderStackCountPropertyKey
Field Value
Type Description
System.Windows.DependencyPropertyKey
View Source

DistributeRowHeightProperty

Identifies the System.Windows.DependencyProperty for DistributeRowHeight.

Declaration
[Obsolete("Use DistributeStackHeight instead")]
public static readonly DependencyProperty DistributeRowHeightProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

DistributeStackHeightProperty

Identifies the System.Windows.DependencyProperty for DistributeStackHeight.

Declaration
public static readonly DependencyProperty DistributeStackHeightProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

IsColumnPickerEnabledProperty

defines whether the column picker functionality is enabled (true) or not. Default is true

Declaration
public static readonly DependencyProperty IsColumnPickerEnabledProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

IsColumnReplacerEnabledProperty

defines whether the column replacer functionality is enabled (true) or not. Default is true

Declaration
public static readonly DependencyProperty IsColumnReplacerEnabledProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

IsHeaderEnabledProperty

Identifies the System.Windows.DependencyProperty for IsHeaderEnabled.

Declaration
public static readonly DependencyProperty IsHeaderEnabledProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

IsMouseRightButtonEnabledProperty

Identifies the System.Windows.DependencyProperty for IsMouseRightButtonEnabled.

Declaration
public static readonly DependencyProperty IsMouseRightButtonEnabledProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

MaxHeaderRowCountProperty

Identifies the System.Windows.DependencyProperty for MaxHeaderRowCount.

Declaration
[Obsolete("Use MaxHeaderStackCount instead")]
public static readonly DependencyProperty MaxHeaderRowCountProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

MaxHeaderStackCountProperty

Identifies the System.Windows.DependencyProperty for MaxHeaderStackCount.

Declaration
public static readonly DependencyProperty MaxHeaderStackCountProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

MaxNumberOfSelectableItemsProperty

defines the maximal number of selectable items in the data grid. Default is null which is interpreted as no restriction

Declaration
public static readonly DependencyProperty MaxNumberOfSelectableItemsProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

NoSearchResultFoundTextProperty

defines the text shown for no search results of a control (for instance the selection overlay) that can be used to search for column header names

Declaration
public static readonly DependencyProperty NoSearchResultFoundTextProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

PreventSelectionResetProperty

Identifies the System.Windows.DependencyProperty for PreventSelectionReset.

Declaration
public static readonly DependencyProperty PreventSelectionResetProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

SearchTextWatermarkProperty

defines the search text watermark of a control (for instance the selection overlay) that can be used to replace/select columns of the DataGrid and supports filtering

Declaration
public static readonly DependencyProperty SearchTextWatermarkProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

SelectionStateProperty

The Dependency Property of the SelectionState property. Gets or sets the state of the selection.

Declaration
public static readonly DependencyProperty SelectionStateProperty
Field Value
Type Description
System.Windows.DependencyProperty

Properties

View Source

ActualHeaderHeight

Gets the current actual height of the DataGridColumnHeadersPresenter

Declaration
public double ActualHeaderHeight { get; }
Property Value
Type Description
System.Double
View Source

ColumnHeaderRowHeight

Gets or sets the row height inside a column header.

Declaration
public double ColumnHeaderRowHeight { get; set; }
Property Value
Type Description
System.Double
Remarks

This is the height of a single draggable header. The height of the complete header is CurrentHeaderStackCount times this height.

View Source

ColumnHeadersPresenter

Gets or sets the current DataGridColumnHeadersPresenter used in the grid.

Declaration
protected DataGridColumnHeadersPresenter ColumnHeadersPresenter { get; set; }
Property Value
Type Description
DataGridColumnHeadersPresenter
View Source

ColumnPickerCommand

Gets or sets the column picker command.

Declaration
public ICommand ColumnPickerCommand { get; set; }
Property Value
Type Description
System.Windows.Input.ICommand
Remarks

When this is set the default SelectionOverlay is not shown.

View Source

ColumnPickerHeader

defines the header text of the selection overlay that can be used to show/hide columns of the DataGrid

Declaration
public string ColumnPickerHeader { get; set; }
Property Value
Type Description
System.String
View Source

ColumnReplacerHeader

defines the header text of the selection overlay that can be used to replace columns of the DataGrid

Declaration
public string ColumnReplacerHeader { get; set; }
Property Value
Type Description
System.String
View Source

ContentType

Gets or sets the margin of the cell

Declaration
public DataGridContentType ContentType { get; set; }
Property Value
Type Description
DataGridContentType
View Source

CurrentHeaderRowCount

Gets the current header row count.

Declaration
[Obsolete("Use CurrentHeaderStackCount instead")]
public int CurrentHeaderRowCount { get; }
Property Value
Type Description
System.Int32
Remarks

The maximum of this value is MaxHeaderRowCount.

View Source

CurrentHeaderStackCount

Gets the current header stack count.

Declaration
public int CurrentHeaderStackCount { get; }
Property Value
Type Description
System.Int32
Remarks

The maximum of this value is MaxHeaderStackCount.

View Source

DistributeRowHeight

Gets or sets a value indicating whether the fixed System.Windows.Controls.DataGrid.RowHeight should be equally distributed amongst sub rows.

Declaration
[Obsolete("Use DistributeStackHeight instead")]
public bool DistributeRowHeight { get; set; }
Property Value
Type Description
System.Boolean
Remarks

If this is true System.Windows.Controls.DataGrid.RowHeight is distributed equally among all header rows. This has no effect if System.Windows.Controls.DataGrid.RowHeight is System.Double.NaN.

View Source

DistributeStackHeight

Gets or sets a value indicating whether the fixed System.Windows.Controls.DataGrid.RowHeight should be equally distributed amongst sub rows.

Declaration
public bool DistributeStackHeight { get; set; }
Property Value
Type Description
System.Boolean
Remarks

If this is true System.Windows.Controls.DataGrid.RowHeight is distributed equally among all stacked headers. This has no effect if System.Windows.Controls.DataGrid.RowHeight is System.Double.NaN.

View Source

IsColumnPickerEnabled

defines whether the column picker functionality is enabled (true) or not. Default is true

Declaration
public bool IsColumnPickerEnabled { get; set; }
Property Value
Type Description
System.Boolean
View Source

IsColumnReplacerEnabled

defines whether the column replacer functionality is enabled (true) or not. Default is true

Declaration
public bool IsColumnReplacerEnabled { get; set; }
Property Value
Type Description
System.Boolean
View Source

IsHeaderEnabled

Gets or sets a value indicating whether the header is enabled.

Declaration
public bool IsHeaderEnabled { get; set; }
Property Value
Type Description
System.Boolean
View Source

IsMouseRightButtonEnabled

Indicates whether the mouse right button can be used for interaction within the DataGrid.

Declaration
public bool IsMouseRightButtonEnabled { get; set; }
Property Value
Type Description
System.Boolean
View Source

MaxHeaderRowCount

Gets or sets the maximum header row count.

Declaration
[Obsolete("Use MaxHeaderStackCount instead")]
public int MaxHeaderRowCount { get; set; }
Property Value
Type Description
System.Int32
Remarks

Set this to 1 if headers should not be arranged in rows.

View Source

MaxHeaderStackCount

Gets or sets the maximum header stack count.

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

Set this to 1 if headers should not be arranged in a stack.

View Source

MaxNumberOfSelectableItems

defines the maximal number of selectable items in the data grid. Default is null which is interpreted as no restriction

Declaration
public int? MaxNumberOfSelectableItems { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
View Source

NoSearchResultFoundText

defines the text shown for no search results of a control (for instance the selection overlay) that can be used to search for column header names

Declaration
public string NoSearchResultFoundText { get; set; }
Property Value
Type Description
System.String
View Source

PreventSelectionReset

Gets or sets a value indicating whether the selection reset that occurs on change of the System.Windows.Controls.DataGrid.SelectionUnit should be prevented.

Declaration
public bool PreventSelectionReset { get; set; }
Property Value
Type Description
System.Boolean

true if selection reset should be prevented; otherwise, false.

Remarks

System.Windows.Controls.Primitives.MultiSelector.SelectedItems will be empty for a short period of time when changing System.Windows.Controls.DataGrid.SelectionUnit.

View Source

SearchTextWatermark

defines the search text watermark of the selection overlay that can be used to replace/select columns of the DataGrid

Declaration
public string SearchTextWatermark { get; set; }
Property Value
Type Description
System.String
View Source

SelectionState

Gets or sets the state of the selection.

Declaration
public DataGrid.SelectionStateType SelectionState { get; set; }
Property Value
Type Description
DataGrid.SelectionStateType

Methods

View Source

GetContainerForItemOverride()

Creates or identifies the element used to display the specified item.

Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
Type Description
System.Windows.DependencyObject

A System.Windows.Controls.ComboBoxItem.

Overrides
System.Windows.Controls.DataGrid.GetContainerForItemOverride()
View Source

InvalidateCellsPanelsMeasure()

Invalidates the cells panels measure.

Declaration
protected void InvalidateCellsPanelsMeasure()
View Source

InvalidateColumnMeasurement()

Invalidates the current column measurement.

Declaration
protected void InvalidateColumnMeasurement()
View Source

IsItemItsOwnContainerOverride(Object)

Determines if the specified item is (or is eligible to be) its own ItemContainer.

Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
Type Name Description
System.Object item

Specified item.

Returns
Type Description
System.Boolean

true if the item is its own ItemContainer; otherwise, false.

Overrides
System.Windows.Controls.DataGrid.IsItemItsOwnContainerOverride(System.Object)
View Source

OnApplyTemplate()

applies the template for the DataGrid

Declaration
public override void OnApplyTemplate()
Overrides
System.Windows.Controls.DataGrid.OnApplyTemplate()
View Source

OnColumnHeaderDragCompleted(DragCompletedEventArgs)

Raises the System.Windows.Controls.DataGrid.ColumnHeaderDragCompleted event.

Declaration
protected void OnColumnHeaderDragCompleted(DragCompletedEventArgs dragCompletedEventArgs)
Parameters
Type Name Description
System.Windows.Controls.Primitives.DragCompletedEventArgs dragCompletedEventArgs

The data for the event.

View Source

OnColumnHeaderDragDelta(DragDeltaEventArgs)

Raises the System.Windows.Controls.DataGrid.ColumnHeaderDragDelta event.

Declaration
protected void OnColumnHeaderDragDelta(DragDeltaEventArgs e)
Parameters
Type Name Description
System.Windows.Controls.Primitives.DragDeltaEventArgs e

The data for the event.

View Source

OnColumnHeaderDragStarted(DragStartedEventArgs)

Raises the System.Windows.Controls.DataGrid.ColumnHeaderDragStarted event.

Declaration
protected void OnColumnHeaderDragStarted(DragStartedEventArgs e)
Parameters
Type Name Description
System.Windows.Controls.Primitives.DragStartedEventArgs e

The data for the event.

View Source

OnColumnReordered(DataGridColumnEventArgs)

Raises the System.Windows.Controls.DataGrid.ColumnReordered event.

Declaration
protected void OnColumnReordered(DataGridColumnEventArgs dataGridColumnEventArgs)
Parameters
Type Name Description
System.Windows.Controls.DataGridColumnEventArgs dataGridColumnEventArgs

The data for the event.

View Source

OnColumnReordering(DataGridColumnReorderingEventArgs)

Raises the System.Windows.Controls.DataGrid.ColumnReordering event.

Declaration
protected void OnColumnReordering(DataGridColumnReorderingEventArgs e)
Parameters
Type Name Description
System.Windows.Controls.DataGridColumnReorderingEventArgs e

The data for the event.

View Source

OnCurrentCellChanged(EventArgs)

Raises the System.Windows.Controls.DataGrid.CurrentCellChanged event.

Declaration
protected override void OnCurrentCellChanged(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

The data for the event.

Overrides
System.Windows.Controls.DataGrid.OnCurrentCellChanged(System.EventArgs)
View Source

OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)

Called when the System.Windows.UIElement.IsKeyboardFocusWithin property has changed.

Declaration
protected override void OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type Name Description
System.Windows.DependencyPropertyChangedEventArgs e

The event data.

Overrides
System.Windows.Controls.Primitives.Selector.OnIsKeyboardFocusWithinChanged(System.Windows.DependencyPropertyChangedEventArgs)
View Source

OnItemsSourceChanged(IEnumerable, IEnumerable)

Invoked when the System.Windows.Controls.ItemsControl.ItemsSource property changes.

Declaration
protected override void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Parameters
Type Name Description
System.Collections.IEnumerable oldValue

The old source.

System.Collections.IEnumerable newValue

The new source.

Overrides
System.Windows.Controls.DataGrid.OnItemsSourceChanged(System.Collections.IEnumerable, System.Collections.IEnumerable)
View Source

OnKeyDown(KeyEventArgs)

Invoked when the System.Windows.UIElement.KeyDown event is received.

Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
Type Name Description
System.Windows.Input.KeyEventArgs e

The information about the event.

Overrides
System.Windows.Controls.DataGrid.OnKeyDown(System.Windows.Input.KeyEventArgs)
View Source

OnPreviewKeyDown(KeyEventArgs)

method that checks whether the event is further processed. it is processed if the maximal number of selectable items is not reached

Declaration
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameters
Type Name Description
System.Windows.Input.KeyEventArgs e
Overrides
System.Windows.UIElement.OnPreviewKeyDown(System.Windows.Input.KeyEventArgs)
View Source

OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)

method that checks whether the event is further processed. it is processed if the maximal number of selectable items is not reached

Declaration
protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
Type Name Description
System.Windows.Input.MouseButtonEventArgs e
Overrides
System.Windows.UIElement.OnPreviewMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs)
View Source

OnPreviewMouseRightButtonUp(MouseButtonEventArgs)

Invoked when an unhandled System.Windows.UIElement.PreviewMouseRightButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

Declaration
protected override void OnPreviewMouseRightButtonUp(MouseButtonEventArgs e)
Parameters
Type Name Description
System.Windows.Input.MouseButtonEventArgs e

The System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the right mouse button was released.

Overrides
System.Windows.UIElement.OnPreviewMouseRightButtonUp(System.Windows.Input.MouseButtonEventArgs)
View Source

OnSorting(DataGridSortingEventArgs)

Raises the System.Windows.Controls.DataGrid.Sorting event.

Declaration
protected override void OnSorting(DataGridSortingEventArgs eventArgs)
Parameters
Type Name Description
System.Windows.Controls.DataGridSortingEventArgs eventArgs

The data for the event.

Overrides
System.Windows.Controls.DataGrid.OnSorting(System.Windows.Controls.DataGridSortingEventArgs)
View Source

StartColumnChange()

Starts column changes and suppresses column state invalidation until the returned System.IDisposable is disposed.

Declaration
public IDisposable StartColumnChange()
Returns
Type Description
System.IDisposable

An System.IDisposable that defines the life cycle for suppressing any column changes.

Implements

System.Windows.Media.Animation.IAnimatable
System.ComponentModel.ISupportInitialize
System.Windows.IFrameworkInputElement
System.Windows.IInputElement
System.Windows.Markup.IQueryAmbient
System.Windows.Controls.Primitives.IContainItemStorage
System.Windows.Markup.IAddChild

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
DependencyObjectExtensions.GetContainer(DependencyObject)
DependencyObjectExtensions.SetContainer(DependencyObject, CompositionContainer)
DependencyObjectExtensions.FindAncestor<T>(DependencyObject)
DependencyObjectExtensions.FindFirstChildByType<T>(DependencyObject)
DependencyObjectExtensions.FindLogicalAncestor<T>(DependencyObject)
DependencyObjectExtensions.GetChildsByType<T>(DependencyObject, List<T>)
DependencyObjectExtensions.GetChildrenByType<T>(DependencyObject)
DependencyObjectExtensions.XamlClone<T>(T)
FrameworkElementExtensions.FindChildByName<T>(FrameworkElement, String)
  • View Source
Back to top Generated by DocFX