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