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)
732
this.ApplyPropertyValue(formattingProperty, value, /*applyToParagraphs*/false,
PropertyValueAction
.SetValue);
754
this.ApplyPropertyValue(formattingProperty, value, applyToParagraphs,
PropertyValueAction
.SetValue);
776
internal void ApplyPropertyValue(DependencyProperty formattingProperty, object value, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)
806
if (propertyValueAction !=
PropertyValueAction
.SetValue &&
807
propertyValueAction !=
PropertyValueAction
.IncreaseByAbsoluteValue &&
808
propertyValueAction !=
PropertyValueAction
.DecreaseByAbsoluteValue &&
809
propertyValueAction !=
PropertyValueAction
.IncreaseByPercentageValue &&
810
propertyValueAction !=
PropertyValueAction
.DecreaseByPercentageValue)
815
if (propertyValueAction !=
PropertyValueAction
.SetValue &&
1615
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)
1255
internal override void ApplyPropertyToTextVirtual(DependencyProperty formattingProperty, object value, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)