26 references to ValuesAreEqual
PresentationFramework (26)
System\Windows\Controls\RichTextBox.cs (2)
707
if (!TextSchema.
ValuesAreEqual
(inheritedValue, defaultValue))
711
if (!TextSchema.
ValuesAreEqual
(inheritedValue, defaultValue))
System\Windows\Documents\TextRangeBase.cs (2)
408
if (!TextSchema.
ValuesAreEqual
(value, startValue))
489
if (!TextSchema.
ValuesAreEqual
(value, startValue))
System\Windows\Documents\TextRangeEdit.cs (12)
110
if (!TextSchema.
ValuesAreEqual
(firstInline.GetValue(property), secondInline.GetValue(property)))
140
if (!TextSchema.
ValuesAreEqual
(firstElement.GetValue(property), secondElement.GetValue(property)))
235
start.Parent == end.Parent && TextSchema.
ValuesAreEqual
(start.Parent.GetValue(formattingProperty), value))
356
if (!TextSchema.
ValuesAreEqual
(inlineValue, parentSpanValue))
364
if (!TextSchema.
ValuesAreEqual
(inlineValue, outerValue))
500
if (!TextSchema.
ValuesAreEqual
(value, outerContextValue))
924
!TextSchema.
ValuesAreEqual
(currentValue, newValue))
958
if (!TextSchema.
ValuesAreEqual
(nextChild.GetValue(property), firstChildValue))
964
if (TextSchema.
ValuesAreEqual
(firstChildValue, currentValue))
1208
if (!TextSchema.
ValuesAreEqual
(newValue, currentValue))
1214
if (!TextSchema.
ValuesAreEqual
(newValue, element.GetValue(property)))
1819
if (!TextSchema.
ValuesAreEqual
(inline.GetValue(inheritableProperty), inline.Parent.GetValue(inheritableProperty)))
System\Windows\Documents\TextRangeEditLists.cs (4)
680
!TextSchema.
ValuesAreEqual
(/*newValue*/newFlowDirectionValue, /*currentValue*/startListItem.List.GetValue(Paragraph.FlowDirectionProperty)))
700
!TextSchema.
ValuesAreEqual
(/*newValue*/newFlowDirectionValue, /*currentValue*/endListItem.List.GetValue(Paragraph.FlowDirectionProperty)))
731
(!TextSchema.
ValuesAreEqual
(/*newValue*/newFlowDirectionValue, /*currentValue*/startListItem.List.GetValue(Paragraph.FlowDirectionProperty))))
739
(!TextSchema.
ValuesAreEqual
(/*newValue*/newFlowDirectionValue, /*currentValue*/endListItem.List.GetValue(Paragraph.FlowDirectionProperty))))
System\Windows\Documents\TextRangeSerialization.cs (6)
802
!TextSchema.
ValuesAreEqual
(innerValue, outerValue)) // or the element really affects the property
928
write = (metadata == null) || !(TextSchema.
ValuesAreEqual
(propertyValue, /*defaultValue*/metadata.DefaultValue) && localValue == DependencyProperty.UnsetValue);
1606
if (TextSchema.
ValuesAreEqual
(start.Parent.GetValue(property), value))
1623
!TextSchema.
ValuesAreEqual
(element.GetValue(property), element.Parent.GetValue(property)))
1642
if (!TextSchema.
ValuesAreEqual
(value, element.GetValue(property)))
1645
if (!TextSchema.
ValuesAreEqual
(value, element.GetValue(property)))