73 references to DataGridHelper
System.Data (73)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ContextMenuUtilities.cs (2)
26OnAddAnnotationCommandCanExecute(e, editingContext, DataGridHelper.GetSingleSelectedObject(dataGrid)); 49OnDeleteAnnotationCommandCanExecute(e, editingContext, DataGridHelper.GetSingleSelectedObject(dataGrid));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (6)
62DataGridHelper dgHelper; 205DataGridHelper.OnEditingControlLoaded(sender, args); 210DataGridHelper.OnEditingControlUnloaded(sender, args); 551DataGridHelper.OnEditingControlLoaded(sender, args); 556DataGridHelper.OnEditingControlUnloaded(sender, args); 603DataGridHelper.DataGridCellGotFocus((DataGrid)sender, e);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (53)
39DependencyProperty.Register("AddNewRowContent", typeof(object), typeof(DataGridHelper), new UIPropertyMetadata("<Add new row>")); 43DependencyProperty.Register("AddNewRowCommand", typeof(ICommand), typeof(DataGridHelper), new UIPropertyMetadata(null)); 47DependencyProperty.RegisterAttached("DGHelper", typeof(DataGridHelper), typeof(DataGrid), new UIPropertyMetadata(null)); 50DependencyProperty.RegisterAttached("ControlBehavior", typeof(EditingControlBehavior), typeof(DataGridHelper), new UIPropertyMetadata(null)); 53DependencyProperty.RegisterAttached("NewRowLoaded", typeof(bool), typeof(DataGridHelper), new UIPropertyMetadata(false)); 56DependencyProperty.RegisterAttached("IsCommitInProgress", typeof(bool), typeof(DataGridHelper), new UIPropertyMetadata(false)); 59DependencyProperty.Register("ShowValidationErrorAsToolTip", typeof(bool), typeof(DataGridHelper), new UIPropertyMetadata(false)); 62DependencyProperty.RegisterAttached("IsCustomEditor", typeof(bool), typeof(DataGridHelper), new UIPropertyMetadata(false)); 96DataGridHelper.SetDGHelper(this.dataGrid, this); 418DataGridCell cell = DataGridHelper.GetCell(this.dataGrid, items.CurrentPosition, columnIndex); 640DataGridHelper helper = DataGridHelper.GetDGHelper(dg); 642DataGridHelper.SetDGHelper(ctrl, helper); 659DataGridHelper helper = DataGridHelper.GetDGHelper(ctrl); 737var cell = DataGridHelper.GetCell(this.dataGrid, rowIndex, columnIndex); 795.Where(p => DataTemplate.Equals(p.CellEditingTemplate, DataGridHelper.DynamicCellContentTemplate) && 796DataTemplate.Equals(p.CellTemplate, DataGridHelper.DynamicCellContentTemplate)) 803var cell = DataGridHelper.GetCell(this.dataGrid, rowIndex, columnIndex); 806var dynamicContent = VisualTreeUtils.GetNamedChild<ContentControl>(cell, DataGridHelper.dynamicContentControlName, 5); 897var dataGridHelper = DataGridHelper.GetDGHelper(dataGrid); 938contentControlFactory.SetValue(ContentControl.NameProperty, DataGridHelper.dynamicContentControlName); 940contentControlFactory.AddHandler(ContentControl.LoadedEvent, new RoutedEventHandler(DataGridHelper.OnDynamicCellContentLoaded)); 951static DataGridHelper GetDGHelper(DependencyObject obj) 953return (DataGridHelper)obj.GetValue(DGHelperProperty); 956static void SetDGHelper(DependencyObject obj, DataGridHelper value) 1091DataGridHelper helper = DataGridHelper.GetDGHelper(dataGrid) as DataGridHelper; 1188var helper = DataGridHelper.GetDGHelper(dataGrid); 1279DataGridHelper.SetNewRowLoaded(identifierDesigner, true); 1283DataGridHelper.SetNewRowLoaded(identifierDesigner, false); 1300if (DataGridHelper.GetNewRowLoaded(identifierDesigner)) 1303DataGridHelper.SetNewRowLoaded(identifierDesigner, false); 1335DataGridHelper helper = DataGridHelper.GetDGHelper(dataGrid) as DataGridHelper; 1366DataGridHelper helper = DataGridHelper.GetDGHelper(this.OwnerDataGrid) as DataGridHelper; 1401DataGridHelper helper = DataGridHelper.GetDGHelper(dataGrid) as DataGridHelper; 1447DataGridHelper helper = DataGridHelper.GetDGHelper(this.OwnerDataGrid) as DataGridHelper; 1470DataGridHelper helper = DataGridHelper.GetDGHelper(this.OwnerDataGrid) as DataGridHelper; 1501DataGridHelper owner; 1504public ErrorToTooltipConverter(DataGridHelper owner)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
671DataGridHelper.CommitPendingEdits(this.variables1.variableDataGrid); 675DataGridHelper.CommitPendingEdits(this.arguments1.argumentsDataGrid);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (8)
60DataGridHelper dgHelper; 137DataGridCell cell = DataGridHelper.GetCell(this.variableDataGrid, index, 1); 153DataGridCell cell = DataGridHelper.GetCell(this.variableDataGrid, index, 2); 433DataGridRow row = DataGridHelper.GetRow(this.variableDataGrid, index); 441DataGridCell cell = DataGridHelper.GetCell(this.variableDataGrid, index, 2); 561DataGridHelper.OnEditingControlLoaded(sender, args); 566DataGridHelper.OnEditingControlUnloaded(sender, args); 613DataGridHelper.DataGridCellGotFocus((DataGrid)sender, e);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (2)
663DataGridHelper.CommitPendingEdits(designerView.arguments1.argumentsDataGrid); 667DataGridHelper.CommitPendingEdits(designerView.variables1.variableDataGrid);