47 references to PropertyValueAction
PresentationFramework (47)
System\windows\Documents\TextEditorCharacters.cs (5)
75
_OnApplyProperty(This, formattingProperty, propertyValue, /*applyToParagraphs*/false,
PropertyValueAction
.SetValue);
80
_OnApplyProperty(This, formattingProperty, propertyValue, applyToParagraphs,
PropertyValueAction
.SetValue);
83
internal static void _OnApplyProperty(TextEditor This, DependencyProperty formattingProperty, object propertyValue, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)
333
TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false,
PropertyValueAction
.IncreaseByAbsoluteValue);
374
TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false,
PropertyValueAction
.DecreaseByAbsoluteValue);
System\windows\Documents\TextEditorLists.cs (10)
255
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.IncreaseByAbsoluteValue);
268
TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0,
PropertyValueAction
.SetValue);
273
TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0,
PropertyValueAction
.SetValue);
278
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.IncreaseByAbsoluteValue);
285
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.IncreaseByAbsoluteValue);
310
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.DecreaseByAbsoluteValue);
324
TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0,
PropertyValueAction
.SetValue);
329
TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0,
PropertyValueAction
.SetValue);
334
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.DecreaseByAbsoluteValue);
341
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.DecreaseByAbsoluteValue);
System\Windows\Documents\TextRange.cs (10)
741
this.ApplyPropertyValue(formattingProperty, value, /*applyToParagraphs*/false,
PropertyValueAction
.SetValue);
763
this.ApplyPropertyValue(formattingProperty, value, applyToParagraphs,
PropertyValueAction
.SetValue);
785
internal void ApplyPropertyValue(DependencyProperty formattingProperty, object value, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)
816
if (propertyValueAction !=
PropertyValueAction
.SetValue &&
817
propertyValueAction !=
PropertyValueAction
.IncreaseByAbsoluteValue &&
818
propertyValueAction !=
PropertyValueAction
.DecreaseByAbsoluteValue &&
819
propertyValueAction !=
PropertyValueAction
.IncreaseByPercentageValue &&
820
propertyValueAction !=
PropertyValueAction
.DecreaseByPercentageValue)
825
if (propertyValueAction !=
PropertyValueAction
.SetValue &&
1625
internal virtual void ApplyPropertyToTextVirtual(DependencyProperty formattingProperty, object value, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)
System\Windows\Documents\TextRangeEdit.cs (21)
228
internal static void SetInlineProperty(TextPointer start, TextPointer end, DependencyProperty formattingProperty, object value,
PropertyValueAction
propertyValueAction)
233
propertyValueAction ==
PropertyValueAction
.SetValue &&
721
SetParagraphProperty(start, end, property, value,
PropertyValueAction
.SetValue);
742
internal static void SetParagraphProperty(TextPointer start, TextPointer end, DependencyProperty property, object value,
PropertyValueAction
propertyValueAction)
786
private static void SetParagraphPropertyWorker(TextPointer start, TextPointer end, DependencyProperty property, object value,
PropertyValueAction
propertyValueAction)
836
private static void SetPropertyOnParagraphOrBlockUIContainer(DependencyObject parent, Block block, DependencyProperty property, object value,
PropertyValueAction
propertyValueAction)
1059
FlowDirection parentFlowDirection, FlowDirection flowDirection,
PropertyValueAction
propertyValueAction)
1117
/// and <see cref="
PropertyValueAction
"/>.
1126
private static double GetNewDoubleValue(DependencyProperty property, double currentValue, double newValue,
PropertyValueAction
propertyValueAction)
1134
private static double NewValue(double currentValue, double newValue,
PropertyValueAction
propertyValueAction)
1147
propertyValueAction ==
PropertyValueAction
.IncreaseByAbsoluteValue ? currentValue + newValue :
1148
propertyValueAction ==
PropertyValueAction
.DecreaseByAbsoluteValue ? currentValue - newValue :
1149
propertyValueAction ==
PropertyValueAction
.IncreaseByPercentageValue ? currentValue * (1.0 + newValue / 100) :
1150
propertyValueAction ==
PropertyValueAction
.DecreaseByPercentageValue ? currentValue * (1.0 - newValue / 100) :
1366
internal static void IncrementParagraphLeadingMargin(TextRange range, double increment,
PropertyValueAction
propertyValueAction)
1369
Invariant.Assert(propertyValueAction !=
PropertyValueAction
.SetValue);
1871
private static void SetNonStructuralInlineProperty(TextPointer start, TextPointer end, DependencyProperty formattingProperty, object value,
PropertyValueAction
propertyValueAction)
1884
if (propertyValueAction !=
PropertyValueAction
.SetValue)
1918
private static double GetNewFontSizeValue(double currentValue, double value,
PropertyValueAction
propertyValueAction)
1923
if (propertyValueAction ==
PropertyValueAction
.IncreaseByAbsoluteValue)
1927
else if (propertyValueAction ==
PropertyValueAction
.DecreaseByAbsoluteValue)
System\windows\Documents\TextSelection.cs (1)
1273
internal override void ApplyPropertyToTextVirtual(DependencyProperty formattingProperty, object value, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)