47 references to PropertyValueAction
PresentationFramework (47)
System\windows\Documents\TextEditorCharacters.cs (5)
59
_OnApplyProperty(This, formattingProperty, propertyValue, /*applyToParagraphs*/false,
PropertyValueAction
.SetValue);
64
_OnApplyProperty(This, formattingProperty, propertyValue, applyToParagraphs,
PropertyValueAction
.SetValue);
67
internal static void _OnApplyProperty(TextEditor This, DependencyProperty formattingProperty, object propertyValue, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)
317
TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false,
PropertyValueAction
.IncreaseByAbsoluteValue);
358
TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false,
PropertyValueAction
.DecreaseByAbsoluteValue);
System\windows\Documents\TextEditorLists.cs (10)
239
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.IncreaseByAbsoluteValue);
252
TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0,
PropertyValueAction
.SetValue);
257
TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0,
PropertyValueAction
.SetValue);
262
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.IncreaseByAbsoluteValue);
269
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.IncreaseByAbsoluteValue);
294
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.DecreaseByAbsoluteValue);
308
TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0,
PropertyValueAction
.SetValue);
313
TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0,
PropertyValueAction
.SetValue);
318
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.DecreaseByAbsoluteValue);
325
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.DecreaseByAbsoluteValue);
System\Windows\Documents\TextRange.cs (10)
738
this.ApplyPropertyValue(formattingProperty, value, /*applyToParagraphs*/false,
PropertyValueAction
.SetValue);
760
this.ApplyPropertyValue(formattingProperty, value, applyToParagraphs,
PropertyValueAction
.SetValue);
782
internal void ApplyPropertyValue(DependencyProperty formattingProperty, object value, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)
813
if (propertyValueAction !=
PropertyValueAction
.SetValue &&
814
propertyValueAction !=
PropertyValueAction
.IncreaseByAbsoluteValue &&
815
propertyValueAction !=
PropertyValueAction
.DecreaseByAbsoluteValue &&
816
propertyValueAction !=
PropertyValueAction
.IncreaseByPercentageValue &&
817
propertyValueAction !=
PropertyValueAction
.DecreaseByPercentageValue)
822
if (propertyValueAction !=
PropertyValueAction
.SetValue &&
1622
internal virtual void ApplyPropertyToTextVirtual(DependencyProperty formattingProperty, object value, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)
System\Windows\Documents\TextRangeEdit.cs (21)
226
internal static void SetInlineProperty(TextPointer start, TextPointer end, DependencyProperty formattingProperty, object value,
PropertyValueAction
propertyValueAction)
231
propertyValueAction ==
PropertyValueAction
.SetValue &&
719
SetParagraphProperty(start, end, property, value,
PropertyValueAction
.SetValue);
740
internal static void SetParagraphProperty(TextPointer start, TextPointer end, DependencyProperty property, object value,
PropertyValueAction
propertyValueAction)
784
private static void SetParagraphPropertyWorker(TextPointer start, TextPointer end, DependencyProperty property, object value,
PropertyValueAction
propertyValueAction)
834
private static void SetPropertyOnParagraphOrBlockUIContainer(DependencyObject parent, Block block, DependencyProperty property, object value,
PropertyValueAction
propertyValueAction)
1057
FlowDirection parentFlowDirection, FlowDirection flowDirection,
PropertyValueAction
propertyValueAction)
1115
/// and <see cref="
PropertyValueAction
"/>.
1124
private static double GetNewDoubleValue(DependencyProperty property, double currentValue, double newValue,
PropertyValueAction
propertyValueAction)
1132
private static double NewValue(double currentValue, double newValue,
PropertyValueAction
propertyValueAction)
1145
propertyValueAction ==
PropertyValueAction
.IncreaseByAbsoluteValue ? currentValue + newValue :
1146
propertyValueAction ==
PropertyValueAction
.DecreaseByAbsoluteValue ? currentValue - newValue :
1147
propertyValueAction ==
PropertyValueAction
.IncreaseByPercentageValue ? currentValue * (1.0 + newValue / 100) :
1148
propertyValueAction ==
PropertyValueAction
.DecreaseByPercentageValue ? currentValue * (1.0 - newValue / 100) :
1364
internal static void IncrementParagraphLeadingMargin(TextRange range, double increment,
PropertyValueAction
propertyValueAction)
1367
Invariant.Assert(propertyValueAction !=
PropertyValueAction
.SetValue);
1869
private static void SetNonStructuralInlineProperty(TextPointer start, TextPointer end, DependencyProperty formattingProperty, object value,
PropertyValueAction
propertyValueAction)
1882
if (propertyValueAction !=
PropertyValueAction
.SetValue)
1916
private static double GetNewFontSizeValue(double currentValue, double value,
PropertyValueAction
propertyValueAction)
1921
if (propertyValueAction ==
PropertyValueAction
.IncreaseByAbsoluteValue)
1925
else if (propertyValueAction ==
PropertyValueAction
.DecreaseByAbsoluteValue)
System\windows\Documents\TextSelection.cs (1)
1270
internal override void ApplyPropertyToTextVirtual(DependencyProperty formattingProperty, object value, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)