26 references to ValuesAreEqual
PresentationFramework (26)
System\Windows\Controls\RichTextBox.cs (2)
703
if (!TextSchema.
ValuesAreEqual
(inheritedValue, defaultValue))
707
if (!TextSchema.
ValuesAreEqual
(inheritedValue, defaultValue))
System\Windows\Documents\TextRangeBase.cs (2)
405
if (!TextSchema.
ValuesAreEqual
(value, startValue))
486
if (!TextSchema.
ValuesAreEqual
(value, startValue))
System\Windows\Documents\TextRangeEdit.cs (12)
108
if (!TextSchema.
ValuesAreEqual
(firstInline.GetValue(property), secondInline.GetValue(property)))
138
if (!TextSchema.
ValuesAreEqual
(firstElement.GetValue(property), secondElement.GetValue(property)))
233
start.Parent == end.Parent && TextSchema.
ValuesAreEqual
(start.Parent.GetValue(formattingProperty), value))
354
if (!TextSchema.
ValuesAreEqual
(inlineValue, parentSpanValue))
362
if (!TextSchema.
ValuesAreEqual
(inlineValue, outerValue))
498
if (!TextSchema.
ValuesAreEqual
(value, outerContextValue))
922
!TextSchema.
ValuesAreEqual
(currentValue, newValue))
956
if (!TextSchema.
ValuesAreEqual
(nextChild.GetValue(property), firstChildValue))
962
if (TextSchema.
ValuesAreEqual
(firstChildValue, currentValue))
1206
if (!TextSchema.
ValuesAreEqual
(newValue, currentValue))
1212
if (!TextSchema.
ValuesAreEqual
(newValue, element.GetValue(property)))
1817
if (!TextSchema.
ValuesAreEqual
(inline.GetValue(inheritableProperty), inline.Parent.GetValue(inheritableProperty)))
System\Windows\Documents\TextRangeEditLists.cs (4)
678
!TextSchema.
ValuesAreEqual
(/*newValue*/newFlowDirectionValue, /*currentValue*/startListItem.List.GetValue(Paragraph.FlowDirectionProperty)))
698
!TextSchema.
ValuesAreEqual
(/*newValue*/newFlowDirectionValue, /*currentValue*/endListItem.List.GetValue(Paragraph.FlowDirectionProperty)))
729
(!TextSchema.
ValuesAreEqual
(/*newValue*/newFlowDirectionValue, /*currentValue*/startListItem.List.GetValue(Paragraph.FlowDirectionProperty))))
737
(!TextSchema.
ValuesAreEqual
(/*newValue*/newFlowDirectionValue, /*currentValue*/endListItem.List.GetValue(Paragraph.FlowDirectionProperty))))
System\Windows\Documents\TextRangeSerialization.cs (6)
796
!TextSchema.
ValuesAreEqual
(innerValue, outerValue)) // or the element really affects the property
922
write = (metadata == null) || !(TextSchema.
ValuesAreEqual
(propertyValue, /*defaultValue*/metadata.DefaultValue) && localValue == DependencyProperty.UnsetValue);
1600
if (TextSchema.
ValuesAreEqual
(start.Parent.GetValue(property), value))
1617
!TextSchema.
ValuesAreEqual
(element.GetValue(property), element.Parent.GetValue(property)))
1636
if (!TextSchema.
ValuesAreEqual
(value, element.GetValue(property)))
1639
if (!TextSchema.
ValuesAreEqual
(value, element.GetValue(property)))