26 references to ValuesAreEqual
PresentationFramework (26)
src\Framework\System\Windows\Controls\RichTextBox.cs (2)
721
if (!TextSchema.
ValuesAreEqual
(inheritedValue, defaultValue))
725
if (!TextSchema.
ValuesAreEqual
(inheritedValue, defaultValue))
src\Framework\System\Windows\Documents\TextRangeBase.cs (2)
419
if (!TextSchema.
ValuesAreEqual
(value, startValue))
500
if (!TextSchema.
ValuesAreEqual
(value, startValue))
src\Framework\System\Windows\Documents\TextRangeEdit.cs (12)
112
if (!TextSchema.
ValuesAreEqual
(firstInline.GetValue(property), secondInline.GetValue(property)))
142
if (!TextSchema.
ValuesAreEqual
(firstElement.GetValue(property), secondElement.GetValue(property)))
237
start.Parent == end.Parent && TextSchema.
ValuesAreEqual
(start.Parent.GetValue(formattingProperty), value))
358
if (!TextSchema.
ValuesAreEqual
(inlineValue, parentSpanValue))
366
if (!TextSchema.
ValuesAreEqual
(inlineValue, outerValue))
502
if (!TextSchema.
ValuesAreEqual
(value, outerContextValue))
926
!TextSchema.
ValuesAreEqual
(currentValue, newValue))
960
if (!TextSchema.
ValuesAreEqual
(nextChild.GetValue(property), firstChildValue))
966
if (TextSchema.
ValuesAreEqual
(firstChildValue, currentValue))
1210
if (!TextSchema.
ValuesAreEqual
(newValue, currentValue))
1216
if (!TextSchema.
ValuesAreEqual
(newValue, element.GetValue(property)))
1821
if (!TextSchema.
ValuesAreEqual
(inline.GetValue(inheritableProperty), inline.Parent.GetValue(inheritableProperty)))
src\Framework\System\Windows\Documents\TextRangeEditLists.cs (4)
682
!TextSchema.
ValuesAreEqual
(/*newValue*/newFlowDirectionValue, /*currentValue*/startListItem.List.GetValue(Paragraph.FlowDirectionProperty)))
702
!TextSchema.
ValuesAreEqual
(/*newValue*/newFlowDirectionValue, /*currentValue*/endListItem.List.GetValue(Paragraph.FlowDirectionProperty)))
733
(!TextSchema.
ValuesAreEqual
(/*newValue*/newFlowDirectionValue, /*currentValue*/startListItem.List.GetValue(Paragraph.FlowDirectionProperty))))
741
(!TextSchema.
ValuesAreEqual
(/*newValue*/newFlowDirectionValue, /*currentValue*/endListItem.List.GetValue(Paragraph.FlowDirectionProperty))))
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (6)
808
!TextSchema.
ValuesAreEqual
(innerValue, outerValue)) // or the element really affects the property
935
write = (metadata == null) || !(TextSchema.
ValuesAreEqual
(propertyValue, /*defaultValue*/metadata.DefaultValue) && localValue == DependencyProperty.UnsetValue);
1626
if (TextSchema.
ValuesAreEqual
(start.Parent.GetValue(property), value))
1643
!TextSchema.
ValuesAreEqual
(element.GetValue(property), element.Parent.GetValue(property)))
1662
if (!TextSchema.
ValuesAreEqual
(value, element.GetValue(property)))
1665
if (!TextSchema.
ValuesAreEqual
(value, element.GetValue(property)))