47 references to PropertyValueAction
PresentationFramework (47)
System\windows\Documents\TextEditorCharacters.cs (5)
58
_OnApplyProperty(This, formattingProperty, propertyValue, /*applyToParagraphs*/false,
PropertyValueAction
.SetValue);
63
_OnApplyProperty(This, formattingProperty, propertyValue, applyToParagraphs,
PropertyValueAction
.SetValue);
66
internal static void _OnApplyProperty(TextEditor This, DependencyProperty formattingProperty, object propertyValue, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)
316
TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false,
PropertyValueAction
.IncreaseByAbsoluteValue);
357
TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false,
PropertyValueAction
.DecreaseByAbsoluteValue);
System\windows\Documents\TextEditorLists.cs (10)
238
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.IncreaseByAbsoluteValue);
251
TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0,
PropertyValueAction
.SetValue);
256
TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0,
PropertyValueAction
.SetValue);
261
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.IncreaseByAbsoluteValue);
268
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.IncreaseByAbsoluteValue);
293
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.DecreaseByAbsoluteValue);
307
TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0,
PropertyValueAction
.SetValue);
312
TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0,
PropertyValueAction
.SetValue);
317
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.DecreaseByAbsoluteValue);
324
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.DecreaseByAbsoluteValue);
System\Windows\Documents\TextRange.cs (10)
731
this.ApplyPropertyValue(formattingProperty, value, /*applyToParagraphs*/false,
PropertyValueAction
.SetValue);
753
this.ApplyPropertyValue(formattingProperty, value, applyToParagraphs,
PropertyValueAction
.SetValue);
775
internal void ApplyPropertyValue(DependencyProperty formattingProperty, object value, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)
805
if (propertyValueAction !=
PropertyValueAction
.SetValue &&
806
propertyValueAction !=
PropertyValueAction
.IncreaseByAbsoluteValue &&
807
propertyValueAction !=
PropertyValueAction
.DecreaseByAbsoluteValue &&
808
propertyValueAction !=
PropertyValueAction
.IncreaseByPercentageValue &&
809
propertyValueAction !=
PropertyValueAction
.DecreaseByPercentageValue)
814
if (propertyValueAction !=
PropertyValueAction
.SetValue &&
1614
internal virtual void ApplyPropertyToTextVirtual(DependencyProperty formattingProperty, object value, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)
System\Windows\Documents\TextRangeEdit.cs (21)
225
internal static void SetInlineProperty(TextPointer start, TextPointer end, DependencyProperty formattingProperty, object value,
PropertyValueAction
propertyValueAction)
230
propertyValueAction ==
PropertyValueAction
.SetValue &&
718
SetParagraphProperty(start, end, property, value,
PropertyValueAction
.SetValue);
739
internal static void SetParagraphProperty(TextPointer start, TextPointer end, DependencyProperty property, object value,
PropertyValueAction
propertyValueAction)
783
private static void SetParagraphPropertyWorker(TextPointer start, TextPointer end, DependencyProperty property, object value,
PropertyValueAction
propertyValueAction)
833
private static void SetPropertyOnParagraphOrBlockUIContainer(DependencyObject parent, Block block, DependencyProperty property, object value,
PropertyValueAction
propertyValueAction)
1056
FlowDirection parentFlowDirection, FlowDirection flowDirection,
PropertyValueAction
propertyValueAction)
1114
/// and <see cref="
PropertyValueAction
"/>.
1123
private static double GetNewDoubleValue(DependencyProperty property, double currentValue, double newValue,
PropertyValueAction
propertyValueAction)
1131
private static double NewValue(double currentValue, double newValue,
PropertyValueAction
propertyValueAction)
1144
propertyValueAction ==
PropertyValueAction
.IncreaseByAbsoluteValue ? currentValue + newValue :
1145
propertyValueAction ==
PropertyValueAction
.DecreaseByAbsoluteValue ? currentValue - newValue :
1146
propertyValueAction ==
PropertyValueAction
.IncreaseByPercentageValue ? currentValue * (1.0 + newValue / 100) :
1147
propertyValueAction ==
PropertyValueAction
.DecreaseByPercentageValue ? currentValue * (1.0 - newValue / 100) :
1363
internal static void IncrementParagraphLeadingMargin(TextRange range, double increment,
PropertyValueAction
propertyValueAction)
1366
Invariant.Assert(propertyValueAction !=
PropertyValueAction
.SetValue);
1868
private static void SetNonStructuralInlineProperty(TextPointer start, TextPointer end, DependencyProperty formattingProperty, object value,
PropertyValueAction
propertyValueAction)
1881
if (propertyValueAction !=
PropertyValueAction
.SetValue)
1915
private static double GetNewFontSizeValue(double currentValue, double value,
PropertyValueAction
propertyValueAction)
1920
if (propertyValueAction ==
PropertyValueAction
.IncreaseByAbsoluteValue)
1924
else if (propertyValueAction ==
PropertyValueAction
.DecreaseByAbsoluteValue)
System\windows\Documents\TextSelection.cs (1)
1254
internal override void ApplyPropertyToTextVirtual(DependencyProperty formattingProperty, object value, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)