1 write to itemToFocus
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
663
this.
itemToFocus
= itemToFocus;
24 references to itemToFocus
System.Data (24)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (24)
616
this.context = this.
itemToFocus
.GetEditingContext();
743
Selection.SelectOnly(this.Context, this.
itemToFocus
);
746
if (null != this.
itemToFocus
.View && ((UIElement)this.
itemToFocus
.View).IsVisible)
748
this.onElementFocusingDelegate(this.
itemToFocus
);
756
var visualItems = this.
itemToFocus
872
ModelItemFocusHelper.Focus(this.
itemToFocus
, this.currentLevel - skipLevel, this.shouldGetKeyboardFocus);
878
if (this.viewService.ShouldAppearOnBreadCrumb(this.
itemToFocus
, true))
880
this.DesignerView.MakeRootDesigner(this.
itemToFocus
, false);
881
ModelItemFocusHelper.Focus(this.
itemToFocus
, 1, this.shouldGetKeyboardFocus);
900
var displayProperty = this.
itemToFocus
.Properties["DisplayName"];
902
Fx.Assert("Expand is in invalid state - we should never end up here. Item to focus: " + displayName + " (" + this.
itemToFocus
.ItemType.Name + ")");
944
.FirstOrDefault(p => ModelItem.Equals(this.
itemToFocus
, p.ModelItem) || p.ModelItem.IsParentOf(this.
itemToFocus
));
962
if (null != this.
itemToFocus
.View && ((FrameworkElement)this.
itemToFocus
.View).IsVisible)
967
((FrameworkElement)this.
itemToFocus
.View).BringIntoView(rectToBringIntoView);
971
((FrameworkElement)this.
itemToFocus
.View).BringIntoView();
975
Keyboard.Focus(this.
itemToFocus
.View as IInputElement);
988
var displayProperty = this.
itemToFocus
.Properties["DisplayName"];
990
Fx.Assert("OnFocusElement is in invalid state - we should never get here. Item to focus: " + displayName + " (" + this.
itemToFocus
.ItemType.Name + ")");
1001
if (null == ModelItemFocusHelper.focusTicket && (null == this.
itemToFocus
.View || !((UIElement)this.
itemToFocus
.View).IsVisible))
1003
ModelItem item = this.
itemToFocus
;