140 references to Helper
PresentationFramework (140)
MS\Internal\Data\ObjectRef.cs (4)
148o = Helper.FindNameInTemplate(_name, d); 185parent = Helper.FindMentor(d.InheritanceContext); 251parent = Helper.FindMentor(dd.InheritanceContext); 386d = Helper.GetTemplatedParent(d);
MS\Internal\Data\PropertyPathWorker.cs (1)
251else if (!Helper.HasDefaultValue(d, dp))
MS\Internal\Data\XmlBindingWorker.cs (1)
277_xmlDataProvider = Helper.XmlDataProviderForElement(TargetElement);
MS\Internal\Documents\DocumentGrid.cs (3)
426if (!Helper.IsDoubleValid(scale)) 802if (!Helper.IsDoubleValid(value)) 824if (!Helper.IsDoubleValid(value))
MS\Internal\FrameworkObject.cs (2)
255foParent.Reset(Helper.FindMentor(_fe.InheritanceContext)); 286foParent.Reset(Helper.FindMentor(_fce.InheritanceContext));
MS\Internal\Helper.cs (2)
189Helper.DowncastToFEorFCE(d, out fe, out fce, false); 492MS.Internal.Controls.IGeneratorHost host = Helper.GeneratorHostForElement(d);
System\Windows\Application.cs (1)
310Helper.ResourceFailureThrow(resourceKey);
System\Windows\Automation\Peers\WindowAutomationPeer.cs (1)
94if (MS.Internal.Helper.IsDefaultValue(AutomationProperties.IsDialogProperty, window))
System\Windows\BroadcastEventHelper.cs (1)
656parent = Helper.FindMentor(fo.DO.InheritanceContext);
System\Windows\Controls\ComboBox.cs (2)
645if (!Helper.IsComposing(EditableTextBoxSite)) 677if (Helper.IsComposing(EditableTextBoxSite))
System\Windows\Controls\ContentControl.cs (2)
369Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this); 418Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this);
System\Windows\Controls\ContentPresenter.cs (5)
282Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this); 343Helper.CheckTemplateAndTemplateSelector("Content", ContentTemplateProperty, ContentTemplateSelectorProperty, this); 484return Helper.MeasureElementWithSingleChild(this, constraint); 495return Helper.ArrangeElementWithSingleChild(this, arrangeSize); 1095stringFormat = Helper.GetEffectiveStringFormat(stringFormat);
System\Windows\Controls\Frame.cs (1)
1297Helper.DowncastToFEorFCE(d, out fe, out fce, false);
System\Windows\Controls\GridView.cs (2)
292Helper.CheckTemplateAndTemplateSelector("GridViewColumnHeader", ColumnHeaderTemplateProperty, ColumnHeaderTemplateSelectorProperty, dv); 330Helper.CheckTemplateAndTemplateSelector("GridViewColumnHeader", ColumnHeaderTemplateProperty, ColumnHeaderTemplateSelectorProperty, dv);
System\Windows\Controls\GridViewColumn.cs (3)
185Helper.CheckTemplateAndTemplateSelector("Header", HeaderTemplateProperty, HeaderTemplateSelectorProperty, c); 223Helper.CheckTemplateAndTemplateSelector("Header", HeaderTemplateProperty, HeaderTemplateSelectorProperty, c); 501Helper.DowncastToFEorFCE(d, out fe, out fce, false);
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
217Helper.CheckTemplateAndTemplateSelector("GridViewHeaderRowPresenter", ColumnHeaderTemplateProperty, ColumnHeaderTemplateSelectorProperty, presenter);
System\Windows\Controls\GroupItem.cs (18)
49_expander = Helper.FindTemplatedDescendant<Expander>(this, this); 59Helper.SetItemValuesOnContainer(itemsControl, _expander, itemsControl.ItemContainerGenerator.ItemFromContainer(this)); 83Helper.InvalidateMeasureOnPath(itemsHostPresenter, groupItem, false /*duringMeasure*/); 106Helper.ComputeCorrectionFactor(ParentItemsControl, this, ItemsHost, HeaderElement); 212Helper.ClearVirtualizingElement(this); 219Helper.SetItemValuesOnContainer(parentItemsControl, this, item); 223Helper.SetItemValuesOnContainer(parentItemsControl, _expander, item); 238Helper.StoreItemValues((IContainItemStorage)parentItemsControl, this, item); 242Helper.StoreItemValues((IContainItemStorage)parentItemsControl, _expander, item); 290Helper.ApplyCorrectionFactorToPixelHeaderSize(ParentItemsControl, this, _itemsHost, ref pixelHeaderSize); 304return Helper.ApplyCorrectionFactorToItemDesiredSizes(this, _itemsHost); 339return Helper.ReadItemValue(this, item, dp.GlobalIndex); 345Helper.StoreItemValue(this, item, dp.GlobalIndex, value); 350Helper.ClearItemValue(this, item, dp.GlobalIndex); 355Helper.ClearItemValueStorage(this, new int[] {dp.GlobalIndex}); 360Helper.ClearItemValueStorage(this); 414return Helper.FindTemplatedDescendant<ItemsPresenter>(_expander, _expander); 418return Helper.FindTemplatedDescendant<ItemsPresenter>(this, this);
System\Windows\Controls\HeaderedContentControl.cs (2)
165Helper.CheckTemplateAndTemplateSelector("Header", HeaderTemplateProperty, HeaderTemplateSelectorProperty, this); 215Helper.CheckTemplateAndTemplateSelector("Header", HeaderTemplateProperty, HeaderTemplateSelectorProperty, this);
System\Windows\Controls\HeaderedItemsControl.cs (3)
158Helper.CheckTemplateAndTemplateSelector("Header", HeaderTemplateProperty, HeaderTemplateSelectorProperty, this); 205Helper.CheckTemplateAndTemplateSelector("Header", HeaderTemplateProperty, HeaderTemplateSelectorProperty, this); 290Helper.HasDefaultValue(this, HeaderStringFormatProperty))
System\Windows\Controls\ItemsControl.cs (17)
652Helper.CheckTemplateAndTemplateSelector("Item", ItemTemplateProperty, ItemTemplateSelectorProperty, this); 660if (Helper.IsTemplateDefined(ItemTemplateProperty, this)) 710Helper.CheckStyleAndStyleSelector("ItemContainer", ItemContainerStyleProperty, ItemContainerStyleSelectorProperty, this); 766Helper.CheckStyleAndStyleSelector("ItemContainer", ItemContainerStyleProperty, ItemContainerStyleSelectorProperty, this); 1373if (!Helper.HasUnmodifiedDefaultValue(this, ItemBindingGroupProperty) && 1374Helper.HasUnmodifiedDefaultOrInheritedValue(container, FrameworkElement.BindingGroupProperty)) 1763Helper.HasDefaultValue(this, ItemStringFormatProperty)) 1768Helper.HasDefaultValue(this, ItemContainerStyleProperty)) 1773Helper.HasDefaultValue(this, ItemContainerStyleSelectorProperty)) 1778Helper.HasDefaultValue(this, AlternationCountProperty)) 1783Helper.HasDefaultValue(this, ItemBindingGroupProperty)) 3209!Helper.IsAnyAncestorOf(itemContainer, focusedElement)) 3961return Helper.ReadItemValue(this, item, dp.GlobalIndex); 3967Helper.StoreItemValue(this, item, dp.GlobalIndex, value); 3972Helper.ClearItemValue(this, item, dp.GlobalIndex); 3977Helper.ClearItemValueStorage(this, new int[] {dp.GlobalIndex}); 3982Helper.ClearItemValueStorage(this);
System\Windows\Controls\ItemsPresenter.cs (2)
67return Helper.MeasureElementWithSingleChild(this, constraint); 77return Helper.ArrangeElementWithSingleChild(this, arrangeSize);
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
542Helper.InvalidateMeasureOnPath(_internalItemsHost, dataGrid.InternalItemsHost, false/*duringMeasure*/, true/*includePathEnd*/);
System\Windows\Controls\TreeViewItem.cs (8)
109Helper.InvalidateMeasureOnPath(itemsHostPresenter, item, false /*duringMeasure*/); 349Helper.ComputeCorrectionFactor(ParentTreeView, this, ItemsHost, HeaderElement); 374Helper.ApplyCorrectionFactorToPixelHeaderSize(ParentTreeView, this, ItemsHost, ref pixelHeaderSize); 387return Helper.ApplyCorrectionFactorToItemDesiredSizes(this, ItemsHost); 832ToggleButton toggleButton = Helper.FindTemplatedDescendant<ToggleButton>(this, this); 894Helper.ClearVirtualizingElement((IHierarchicalVirtualizationAndScrollInfo)this); 903Helper.SetItemValuesOnContainer(parentItemsControl, this, item); 921Helper.StoreItemValues(parentItemsControl, this, item);
System\Windows\Controls\VirtualizingStackPanel.cs (3)
4047Helper.ClearVirtualizingElement(virtualizingProvider); 4280Helper.ClearItemValueStorage((DependencyObject)itemStorageProvider, _indicesStoredInItemValueStorage); 6842Helper.InvalidateMeasureOnPath(childItemsHost, this, true /*duringMeasure*/);
System\Windows\Data\BindingBase.cs (1)
196Helper.CheckCanReceiveMarkupExtension(this, serviceProvider, out targetDependencyObject, out targetDependencyProperty);
System\Windows\Data\BindingExpression.cs (8)
112DependencyObject mentor = !UsingMentor ? target : Helper.FindMentor(target); 133get { return !UsingMentor ? TargetElement : Helper.FindMentor(TargetElement); } 515DependencyObject mentor = Helper.FindMentor(target); 665DependencyObject mentor = !UsingMentor ? target : Helper.FindMentor(target); 894target = Helper.FindMentor(target); 2272target = Helper.FindMentor(target); 2625fo.Reset(Helper.FindMentor(d)); 2640fo.Reset(Helper.FindMentor(d));
System\Windows\Data\BindingExpressionBase.cs (3)
1485if (Helper.IsComposing(Target, TargetProperty)) 1749FrameworkObject fo = new FrameworkObject(Helper.FindMentor(TargetElement)); 2657SetValue(Feature.EffectiveStringFormat, Helper.GetEffectiveStringFormat(stringFormat), null);
System\Windows\Data\BindingGroup.cs (11)
285DependencyObject mentor = Helper.FindMentor(this); 597UIElement layoutElement = Helper.FindMentor(this) as UIElement; 737DependencyObject mentor = Helper.FindMentor(this); 747DependencyObject mentor = Helper.FindMentor(this); 770DependencyObject mentor = Helper.FindMentor(this); 815DependencyObject mentor = Helper.FindMentor(this); 914DependencyObject mentor = Helper.FindMentor(this); 926Helper.DowncastToFEorFCE(mentor, out fe, out fce, false); 954DependencyObject mentor = Helper.FindMentor(this); 1020DependencyObject mentor = Helper.FindMentor(this); 1309DependencyObject mentor = Helper.FindMentor(this);
System\Windows\Data\MultiBindingExpression.cs (1)
78get { return !UsingMentor ? TargetElement : Helper.FindMentor(TargetElement); }
System\Windows\DynamicResourceExtension.cs (1)
65Helper.CheckCanReceiveMarkupExtension(this, serviceProvider, out targetDependencyObject, out targetDependencyProperty);
System\Windows\FrameworkContentElement.cs (1)
359Helper.ResourceFailureThrow(resourceKey);
System\Windows\FrameworkElement.cs (4)
837Helper.ResourceFailureThrow(resourceKey); 1465object appResource = Helper.FindTemplateResourceFromAppOrSystem(target, keys, exactMatch, ref bestMatch); 1746return !Helper.HasDefaultValue(this, dp); 1770d = (parent != null) ? parent : Helper.FindMentor(d.InheritanceContext);
System\Windows\FrameworkTemplate.cs (1)
1143Helper.DowncastToFEorFCE(rootObject, out feResult, out fceResult, true);
System\Windows\Generated\FrameworkContentElement.cs (1)
820DependencyObject newMentor = Helper.FindMentor(InheritanceContext);
System\Windows\Generated\FrameworkElement.cs (1)
852DependencyObject newMentor = Helper.FindMentor(InheritanceContext);
System\Windows\LostFocusEventManager.cs (2)
104Helper.DowncastToFEorFCE(typedSource, out fe, out fce, true); 120Helper.DowncastToFEorFCE(typedSource, out fe, out fce, true);
System\Windows\Markup\BamlRecordReader.cs (1)
4095Helper.DowncastToFEorFCE(feOrfceParent, out feParent, out fceParent, false /*throwIfNeither*/);
System\Windows\Media\Animation\Storyboard.cs (2)
427DependencyObject mentor = Helper.FindMentor(containingObject); 536DependencyObject mentor = Helper.FindMentor(containingObject);
System\Windows\ResourceReferenceExpression.cs (4)
95_mentorCache = Helper.FindMentor(d); 108Helper.DowncastToFEorFCE(_mentorCache, out mentorFE, out mentorFCE, true); 126Helper.DowncastToFEorFCE(_mentorCache, out fe, out fce, true /*throwIfNeither*/); 316Helper.DowncastToFEorFCE(_mentorCache, out mentorFE, out mentorFCE, true);
System\Windows\StyleHelper.cs (11)
1541Helper.DowncastToFEorFCE(child, out feChild, out fceChild, false); 2057Helper.DowncastToFEorFCE(walkNode, out feWalkNode, out fceWalkNode, false); 2400Helper.DowncastToFEorFCE((DependencyObject)sender, out fe, out fce, false); 2455Helper.DowncastToFEorFCE((DependencyObject)sender, out fe, out fce, false); 2477Helper.DowncastToFEorFCE(templatedParent, out feTemplatedParent, out fceTemplatedParent, false); 2916Helper.DowncastToFEorFCE(container, out feContainer, out fceContainer, true); 5134Helper.DowncastToFEorFCE(container, out fe, out fce, false); 5171Helper.DowncastToFEorFCE(container, out fe, out fce, false); 5214Helper.DowncastToFEorFCE(container, out fe, out fce, false); 5481Helper.DowncastToFEorFCE(d, out fe, out fce, false); 5506Helper.DowncastToFEorFCE(d, out fe, out fce, false);
System\Windows\TemplateNameScope.cs (1)
88Helper.DowncastToFEorFCE( scopedElement as DependencyObject,