140 references to Helper
PresentationFramework (140)
MS\Internal\Data\ObjectRef.cs (4)
154o = Helper.FindNameInTemplate(_name, d); 191parent = Helper.FindMentor(d.InheritanceContext); 257parent = Helper.FindMentor(dd.InheritanceContext); 392d = Helper.GetTemplatedParent(d);
MS\Internal\Data\PropertyPathWorker.cs (1)
257else if (!Helper.HasDefaultValue(d, dp))
MS\Internal\Data\XmlBindingWorker.cs (1)
283_xmlDataProvider = Helper.XmlDataProviderForElement(TargetElement);
MS\Internal\Documents\DocumentGrid.cs (3)
433if (!Helper.IsDoubleValid(scale)) 809if (!Helper.IsDoubleValid(value)) 831if (!Helper.IsDoubleValid(value))
MS\Internal\FrameworkObject.cs (2)
258foParent.Reset(Helper.FindMentor(_fe.InheritanceContext)); 289foParent.Reset(Helper.FindMentor(_fce.InheritanceContext));
MS\Internal\Helper.cs (2)
198Helper.DowncastToFEorFCE(d, out fe, out fce, false); 501MS.Internal.Controls.IGeneratorHost host = Helper.GeneratorHostForElement(d);
System\Windows\Application.cs (1)
323Helper.ResourceFailureThrow(resourceKey);
System\Windows\Automation\Peers\WindowAutomationPeer.cs (1)
101if (MS.Internal.Helper.IsDefaultValue(AutomationProperties.IsDialogProperty, window))
System\Windows\BroadcastEventHelper.cs (1)
662parent = Helper.FindMentor(fo.DO.InheritanceContext);
System\Windows\Controls\ComboBox.cs (2)
655if (!Helper.IsComposing(EditableTextBoxSite)) 687if (Helper.IsComposing(EditableTextBoxSite))
System\Windows\Controls\ContentControl.cs (2)
378Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this); 427Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this);
System\Windows\Controls\ContentPresenter.cs (5)
291Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this); 352Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this); 493return Helper.MeasureElementWithSingleChild(this, constraint); 504return Helper.ArrangeElementWithSingleChild(this, arrangeSize); 1104stringFormat = Helper.GetEffectiveStringFormat(stringFormat);
System\Windows\Controls\Frame.cs (1)
1309Helper.DowncastToFEorFCE(d, out fe, out fce, false);
System\Windows\Controls\GridView.cs (2)
293Helper.CheckTemplateAndTemplateSelector("GridViewColumnHeader", ColumnHeaderTemplateProperty, ColumnHeaderTemplateSelectorProperty, dv); 331Helper.CheckTemplateAndTemplateSelector("GridViewColumnHeader", ColumnHeaderTemplateProperty, ColumnHeaderTemplateSelectorProperty, dv);
System\Windows\Controls\GridViewColumn.cs (3)
186Helper.CheckTemplateAndTemplateSelector("Header", HeaderTemplateProperty, HeaderTemplateSelectorProperty, c); 224Helper.CheckTemplateAndTemplateSelector("Header", HeaderTemplateProperty, HeaderTemplateSelectorProperty, c); 502Helper.DowncastToFEorFCE(d, out fe, out fce, false);
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
220Helper.CheckTemplateAndTemplateSelector("GridViewHeaderRowPresenter", ColumnHeaderTemplateProperty, ColumnHeaderTemplateSelectorProperty, presenter);
System\Windows\Controls\GroupItem.cs (18)
57_expander = Helper.FindTemplatedDescendant<Expander>(this, this); 67Helper.SetItemValuesOnContainer(itemsControl, _expander, itemsControl.ItemContainerGenerator.ItemFromContainer(this)); 91Helper.InvalidateMeasureOnPath(itemsHostPresenter, groupItem, false /*duringMeasure*/); 114Helper.ComputeCorrectionFactor(ParentItemsControl, this, ItemsHost, HeaderElement); 220Helper.ClearVirtualizingElement(this); 227Helper.SetItemValuesOnContainer(parentItemsControl, this, item); 231Helper.SetItemValuesOnContainer(parentItemsControl, _expander, item); 246Helper.StoreItemValues((IContainItemStorage)parentItemsControl, this, item); 250Helper.StoreItemValues((IContainItemStorage)parentItemsControl, _expander, item); 298Helper.ApplyCorrectionFactorToPixelHeaderSize(ParentItemsControl, this, _itemsHost, ref pixelHeaderSize); 312return Helper.ApplyCorrectionFactorToItemDesiredSizes(this, _itemsHost); 347return Helper.ReadItemValue(this, item, dp.GlobalIndex); 353Helper.StoreItemValue(this, item, dp.GlobalIndex, value); 358Helper.ClearItemValue(this, item, dp.GlobalIndex); 363Helper.ClearItemValueStorage(this, new int[] {dp.GlobalIndex}); 368Helper.ClearItemValueStorage(this); 422return Helper.FindTemplatedDescendant<ItemsPresenter>(_expander, _expander); 426return Helper.FindTemplatedDescendant<ItemsPresenter>(this, this);
System\Windows\Controls\HeaderedContentControl.cs (2)
170Helper.CheckTemplateAndTemplateSelector("Header", HeaderTemplateProperty, HeaderTemplateSelectorProperty, this); 220Helper.CheckTemplateAndTemplateSelector("Header", HeaderTemplateProperty, HeaderTemplateSelectorProperty, this);
System\Windows\Controls\HeaderedItemsControl.cs (3)
163Helper.CheckTemplateAndTemplateSelector("Header", HeaderTemplateProperty, HeaderTemplateSelectorProperty, this); 210Helper.CheckTemplateAndTemplateSelector("Header", HeaderTemplateProperty, HeaderTemplateSelectorProperty, this); 295Helper.HasDefaultValue(this, HeaderStringFormatProperty))
System\Windows\Controls\ItemsControl.cs (17)
661Helper.CheckTemplateAndTemplateSelector("Item", ItemTemplateProperty, ItemTemplateSelectorProperty, this); 669if (Helper.IsTemplateDefined(ItemTemplateProperty, this)) 719Helper.CheckStyleAndStyleSelector("ItemContainer", ItemContainerStyleProperty, ItemContainerStyleSelectorProperty, this); 775Helper.CheckStyleAndStyleSelector("ItemContainer", ItemContainerStyleProperty, ItemContainerStyleSelectorProperty, this); 1382if (!Helper.HasUnmodifiedDefaultValue(this, ItemBindingGroupProperty) && 1383Helper.HasUnmodifiedDefaultOrInheritedValue(container, FrameworkElement.BindingGroupProperty)) 1772Helper.HasDefaultValue(this, ItemStringFormatProperty)) 1777Helper.HasDefaultValue(this, ItemContainerStyleProperty)) 1782Helper.HasDefaultValue(this, ItemContainerStyleSelectorProperty)) 1787Helper.HasDefaultValue(this, AlternationCountProperty)) 1792Helper.HasDefaultValue(this, ItemBindingGroupProperty)) 3218!Helper.IsAnyAncestorOf(itemContainer, focusedElement)) 3970return Helper.ReadItemValue(this, item, dp.GlobalIndex); 3976Helper.StoreItemValue(this, item, dp.GlobalIndex, value); 3981Helper.ClearItemValue(this, item, dp.GlobalIndex); 3986Helper.ClearItemValueStorage(this, new int[] {dp.GlobalIndex}); 3991Helper.ClearItemValueStorage(this);
System\Windows\Controls\ItemsPresenter.cs (2)
71return Helper.MeasureElementWithSingleChild(this, constraint); 81return Helper.ArrangeElementWithSingleChild(this, arrangeSize);
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
547Helper.InvalidateMeasureOnPath(_internalItemsHost, dataGrid.InternalItemsHost, false/*duringMeasure*/, true/*includePathEnd*/);
System\Windows\Controls\TreeViewItem.cs (8)
113Helper.InvalidateMeasureOnPath(itemsHostPresenter, item, false /*duringMeasure*/); 353Helper.ComputeCorrectionFactor(ParentTreeView, this, ItemsHost, HeaderElement); 378Helper.ApplyCorrectionFactorToPixelHeaderSize(ParentTreeView, this, ItemsHost, ref pixelHeaderSize); 391return Helper.ApplyCorrectionFactorToItemDesiredSizes(this, ItemsHost); 836ToggleButton toggleButton = Helper.FindTemplatedDescendant<ToggleButton>(this, this); 898Helper.ClearVirtualizingElement((IHierarchicalVirtualizationAndScrollInfo)this); 907Helper.SetItemValuesOnContainer(parentItemsControl, this, item); 925Helper.StoreItemValues(parentItemsControl, this, item);
System\Windows\Controls\VirtualizingStackPanel.cs (3)
4052Helper.ClearVirtualizingElement(virtualizingProvider); 4285Helper.ClearItemValueStorage((DependencyObject)itemStorageProvider, _indicesStoredInItemValueStorage); 6847Helper.InvalidateMeasureOnPath(childItemsHost, this, true /*duringMeasure*/);
System\Windows\Data\BindingBase.cs (1)
198Helper.CheckCanReceiveMarkupExtension(this, serviceProvider, out targetDependencyObject, out targetDependencyProperty);
System\Windows\Data\BindingExpression.cs (8)
121DependencyObject mentor = !UsingMentor ? target : Helper.FindMentor(target); 142get { return !UsingMentor ? TargetElement : Helper.FindMentor(TargetElement); } 524DependencyObject mentor = Helper.FindMentor(target); 674DependencyObject mentor = !UsingMentor ? target : Helper.FindMentor(target); 903target = Helper.FindMentor(target); 2281target = Helper.FindMentor(target); 2634fo.Reset(Helper.FindMentor(d)); 2649fo.Reset(Helper.FindMentor(d));
System\Windows\Data\BindingExpressionBase.cs (3)
1493if (Helper.IsComposing(Target, TargetProperty)) 1757FrameworkObject fo = new FrameworkObject(Helper.FindMentor(TargetElement)); 2665SetValue(Feature.EffectiveStringFormat, Helper.GetEffectiveStringFormat(stringFormat), null);
System\Windows\Data\BindingGroup.cs (11)
290DependencyObject mentor = Helper.FindMentor(this); 602UIElement layoutElement = Helper.FindMentor(this) as UIElement; 742DependencyObject mentor = Helper.FindMentor(this); 752DependencyObject mentor = Helper.FindMentor(this); 775DependencyObject mentor = Helper.FindMentor(this); 820DependencyObject mentor = Helper.FindMentor(this); 919DependencyObject mentor = Helper.FindMentor(this); 931Helper.DowncastToFEorFCE(mentor, out fe, out fce, false); 959DependencyObject mentor = Helper.FindMentor(this); 1025DependencyObject mentor = Helper.FindMentor(this); 1314DependencyObject mentor = Helper.FindMentor(this);
System\Windows\Data\MultiBindingExpression.cs (1)
89get { return !UsingMentor ? TargetElement : Helper.FindMentor(TargetElement); }
System\Windows\DynamicResourceExtension.cs (1)
68Helper.CheckCanReceiveMarkupExtension(this, serviceProvider, out targetDependencyObject, out targetDependencyProperty);
System\Windows\FrameworkContentElement.cs (1)
371Helper.ResourceFailureThrow(resourceKey);
System\Windows\FrameworkElement.cs (4)
848Helper.ResourceFailureThrow(resourceKey); 1476object appResource = Helper.FindTemplateResourceFromAppOrSystem(target, keys, exactMatch, ref bestMatch); 1757return !Helper.HasDefaultValue(this, dp); 1781d = (parent != null) ? parent : Helper.FindMentor(d.InheritanceContext);
System\Windows\FrameworkTemplate.cs (1)
1152Helper.DowncastToFEorFCE(rootObject, out feResult, out fceResult, true);
System\Windows\Generated\FrameworkContentElement.cs (1)
826DependencyObject newMentor = Helper.FindMentor(InheritanceContext);
System\Windows\Generated\FrameworkElement.cs (1)
858DependencyObject newMentor = Helper.FindMentor(InheritanceContext);
System\Windows\LostFocusEventManager.cs (2)
106Helper.DowncastToFEorFCE(typedSource, out fe, out fce, true); 122Helper.DowncastToFEorFCE(typedSource, out fe, out fce, true);
System\Windows\Markup\BamlRecordReader.cs (1)
4104Helper.DowncastToFEorFCE(feOrfceParent, out feParent, out fceParent, false /*throwIfNeither*/);
System\Windows\Media\Animation\Storyboard.cs (2)
430DependencyObject mentor = Helper.FindMentor(containingObject); 539DependencyObject mentor = Helper.FindMentor(containingObject);
System\Windows\ResourceReferenceExpression.cs (4)
97_mentorCache = Helper.FindMentor(d); 110Helper.DowncastToFEorFCE(_mentorCache, out mentorFE, out mentorFCE, true); 128Helper.DowncastToFEorFCE(_mentorCache, out fe, out fce, true /*throwIfNeither*/); 318Helper.DowncastToFEorFCE(_mentorCache, out mentorFE, out mentorFCE, true);
System\Windows\StyleHelper.cs (11)
1547Helper.DowncastToFEorFCE(child, out feChild, out fceChild, false); 2063Helper.DowncastToFEorFCE(walkNode, out feWalkNode, out fceWalkNode, false); 2406Helper.DowncastToFEorFCE((DependencyObject)sender, out fe, out fce, false); 2461Helper.DowncastToFEorFCE((DependencyObject)sender, out fe, out fce, false); 2483Helper.DowncastToFEorFCE(templatedParent, out feTemplatedParent, out fceTemplatedParent, false); 2922Helper.DowncastToFEorFCE(container, out feContainer, out fceContainer, true); 5140Helper.DowncastToFEorFCE(container, out fe, out fce, false); 5177Helper.DowncastToFEorFCE(container, out fe, out fce, false); 5220Helper.DowncastToFEorFCE(container, out fe, out fce, false); 5487Helper.DowncastToFEorFCE(d, out fe, out fce, false); 5512Helper.DowncastToFEorFCE(d, out fe, out fce, false);
System\Windows\TemplateNameScope.cs (1)
92Helper.DowncastToFEorFCE( scopedElement as DependencyObject,