68 references to ReadLocalValue
PresentationCore (1)
Core\CSharp\System\Windows\Media\Animation\Animatable.cs (1)
336
return
ReadLocalValue
(dp) == DependencyProperty.UnsetValue;
PresentationFramework (62)
src\Framework\MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (2)
95
object dataId = node.
ReadLocalValue
(DataIdProcessor.DataIdProperty);
135
object dataId = node.
ReadLocalValue
(DataIdProcessor.DataIdProperty);
src\Framework\MS\Internal\Annotations\Anchoring\PathNode.cs (1)
305
if (node.
ReadLocalValue
(AnnotationService.ServiceProperty) != DependencyProperty.UnsetValue)
src\Framework\MS\Internal\Data\ObjectRef.cs (1)
190
d.
ReadLocalValue
(System.Windows.Navigation.NavigationService.NavigationServiceProperty) == DependencyProperty.UnsetValue)
src\Framework\MS\Internal\Documents\DocumentGridContextMenu.cs (1)
110
if (documentGrid.
ReadLocalValue
(FrameworkElement.ContextMenuProperty) == null)
src\Framework\MS\Internal\Documents\UndoManager.cs (1)
160
undoManager = scope.
ReadLocalValue
(UndoManager.UndoManagerInstanceProperty) as UndoManager;
src\Framework\MS\Internal\Helper.cs (4)
338
object styleSelector = d.
ReadLocalValue
(styleSelectorProperty);
343
object style = d.
ReadLocalValue
(styleProperty);
387
object templateSelector = d.
ReadLocalValue
(templateSelectorProperty);
403
object template = d.
ReadLocalValue
(templateProperty);
src\Framework\MS\Internal\Ink\DrawingAttributesDefaultValueFactory.cs (1)
87
if (_owner.
ReadLocalValue
(InkCanvas.DefaultDrawingAttributesProperty) == DependencyProperty.UnsetValue)
src\Framework\MS\Internal\Ink\StrokeCollectionDefaultValueFactory.cs (1)
96
if ( _owner.
ReadLocalValue
(_dependencyProperty) == DependencyProperty.UnsetValue )
src\Framework\System\Windows\Annotations\AnnotationService.cs (1)
1191
AnnotationService existingService = node.
ReadLocalValue
(AnnotationService.ServiceProperty) as AnnotationService;
src\Framework\System\Windows\Controls\ContentControl.cs (1)
175
return
ReadLocalValue
(ContentProperty) != DependencyProperty.UnsetValue;
src\Framework\System\Windows\Controls\DataGridHelper.cs (2)
624
object flowDirectionObj = element.
ReadLocalValue
(FrameworkElement.FlowDirectionProperty);
636
object flowDirectionObj = cell.
ReadLocalValue
(DataGridHelper.FlowDirectionCacheProperty);
src\Framework\System\Windows\Controls\GridView.cs (1)
213
GridViewColumnCollection localValue = listViewItem.
ReadLocalValue
(ColumnCollectionProperty) as GridViewColumnCollection;
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
1223
object template = srcHeader.
ReadLocalValue
(GridViewColumnHeader.ContentTemplateProperty);
1229
object selector = srcHeader.
ReadLocalValue
(GridViewColumnHeader.ContentTemplateSelectorProperty);
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (4)
263
object item = container.
ReadLocalValue
(ItemForItemContainerProperty);
578
object item = container.
ReadLocalValue
(ItemForItemContainerProperty);
1994
CollectionViewGroup group = groupItem.
ReadLocalValue
(ItemForItemContainerProperty) as CollectionViewGroup;
2592
CollectionViewGroup group = groupItem.
ReadLocalValue
(ItemForItemContainerProperty) as CollectionViewGroup;
src\Framework\System\Windows\Controls\ItemsControl.cs (4)
421
if (
ReadLocalValue
(ItemTemplateSelectorProperty) != DependencyProperty.UnsetValue ||
422
ReadLocalValue
(DisplayMemberPathProperty) == DependencyProperty.UnsetValue)
3426
container.
ReadLocalValue
(FrameworkElement.StyleProperty) != DependencyProperty.UnsetValue)
3580
container.
ReadLocalValue
(ItemContainerGenerator.ItemForItemContainerProperty)))
src\Framework\System\Windows\Controls\TextBlock.cs (2)
3370
object localValue =
ReadLocalValue
(TextProperty);
4066
object localBaseline =
ReadLocalValue
(BaselineOffsetProperty);
src\Framework\System\Windows\Controls\TextBox.cs (6)
1801
if (
ReadLocalValue
(HeightProperty) != DependencyProperty.UnsetValue ||
1802
ReadLocalValue
(MaxHeightProperty) != DependencyProperty.UnsetValue ||
1803
ReadLocalValue
(MinHeightProperty) != DependencyProperty.UnsetValue)
1839
if (
ReadLocalValue
(HeightProperty) != DependencyProperty.UnsetValue ||
1840
ReadLocalValue
(MaxHeightProperty) != DependencyProperty.UnsetValue ||
1841
ReadLocalValue
(MinHeightProperty) != DependencyProperty.UnsetValue)
src\Framework\System\Windows\Controls\Validation.cs (2)
216
object oldValue = element.
ReadLocalValue
(ErrorTemplateProperty);
451
TemplatedAdorner validationAdorner = siteUIElement.
ReadLocalValue
(ValidationAdornerProperty) as TemplatedAdorner;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (3)
6288
else if ((box = container.
ReadLocalValue
(ItemsHostInsetProperty)) != DependencyProperty.UnsetValue)
6464
return container.
ReadLocalValue
(System.Windows.Controls.ItemContainerGenerator.ItemForItemContainerProperty);
7507
object v = child.
ReadLocalValue
(ItemsHostInsetProperty);
src\Framework\System\Windows\Data\BindingExpression.cs (1)
1780
if (IsAttaching && RootBindingExpression == target.
ReadLocalValue
(TargetProperty))
src\Framework\System\Windows\Data\MultiBindingExpression.cs (1)
1374
if (IsAttaching && this == target.
ReadLocalValue
(TargetProperty))
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
235
return e.
ReadLocalValue
(property);
src\Framework\System\windows\Documents\TextEditor.cs (1)
1163
return (element is DependencyObject) ? (((DependencyObject)element).
ReadLocalValue
(InstanceProperty) as TextEditor) : null;
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
141
if (This.UiScope.
ReadLocalValue
(FrameworkElement.ContextMenuProperty) == null)
src\Framework\System\Windows\Documents\TextPointer.cs (1)
2567
return element.
ReadLocalValue
(formattingProperty);
src\Framework\System\Windows\Documents\TextRangeEdit.cs (2)
104
if (firstInline.
ReadLocalValue
(property) != DependencyProperty.UnsetValue ||
105
secondInline.
ReadLocalValue
(property) != DependencyProperty.UnsetValue)
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (2)
2307
object value = sourceParagraph.
ReadLocalValue
(property);
2316
object value = sourceParagraph.
ReadLocalValue
(property);
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (4)
742
object value = context.
ReadLocalValue
(property);
1153
object propertyValue = element.
ReadLocalValue
(property);
1210
WriteNoninheritableProperty(xmlWriter, property, value, elementTypeStandardized, /*onlyAffected:*/true, complexProperties, image.
ReadLocalValue
(property));
1642
if (element.
ReadLocalValue
(property) != DependencyProperty.UnsetValue ||
src\Framework\System\windows\Documents\TextSelection.cs (3)
1427
propertyValue = _springloadFormatting.
ReadLocalValue
(formattingProperty);
1497
if (_springloadFormatting.
ReadLocalValue
(inheritableProperties[i]) == DependencyProperty.UnsetValue &&
1508
if (_springloadFormatting.
ReadLocalValue
(noninheritableProperties[i]) == DependencyProperty.UnsetValue &&
src\Framework\System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
138
object currentValue = uiElement.
ReadLocalValue
(property);
src\Framework\System\Windows\FrameworkContentElement.cs (1)
154
&&
ReadLocalValue
(StyleProperty) != DependencyProperty.UnsetValue;
src\Framework\System\Windows\FrameworkElement.cs (2)
175
&&
ReadLocalValue
(StyleProperty) != DependencyProperty.UnsetValue;
4030
object flowDirectionValue = v.
ReadLocalValue
(FlowDirectionProperty);
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
819
value = DO.
ReadLocalValue
(DP);
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
40
if (
ReadLocalValue
(ControlBrushProperty) == DependencyProperty.UnsetValue)
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (1)
1178
if (sourceChanged ||
ReadLocalValue
(ValueIndexProperty) == DependencyProperty.UnsetValue)
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
483
if (((DependencyObject)sender).
ReadLocalValue
(IndexProperty) != DependencyProperty.UnsetValue)
WindowsBase (2)
Base\MS\Internal\FreezableDefaultValueFactory.cs (1)
139
if (_owner.
ReadLocalValue
(_property) == DependencyProperty.UnsetValue)
Base\MS\Internal\ObservableCollectionDefaultValueFactory.cs (1)
101
if (_owner.
ReadLocalValue
(_property) == DependencyProperty.UnsetValue)