47 references to PropertyValueAction
PresentationFramework (47)
src\Framework\System\windows\Documents\TextEditorCharacters.cs (5)
77
_OnApplyProperty(This, formattingProperty, propertyValue, /*applyToParagraphs*/false,
PropertyValueAction
.SetValue);
82
_OnApplyProperty(This, formattingProperty, propertyValue, applyToParagraphs,
PropertyValueAction
.SetValue);
85
internal static void _OnApplyProperty(TextEditor This, DependencyProperty formattingProperty, object propertyValue, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)
335
TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false,
PropertyValueAction
.IncreaseByAbsoluteValue);
376
TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false,
PropertyValueAction
.DecreaseByAbsoluteValue);
src\Framework\System\windows\Documents\TextEditorLists.cs (10)
257
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.IncreaseByAbsoluteValue);
270
TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0,
PropertyValueAction
.SetValue);
275
TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0,
PropertyValueAction
.SetValue);
280
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.IncreaseByAbsoluteValue);
287
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.IncreaseByAbsoluteValue);
312
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.DecreaseByAbsoluteValue);
326
TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0,
PropertyValueAction
.SetValue);
331
TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0,
PropertyValueAction
.SetValue);
336
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.DecreaseByAbsoluteValue);
343
TextRangeEdit.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20,
PropertyValueAction
.DecreaseByAbsoluteValue);
src\Framework\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)
809
if (propertyValueAction !=
PropertyValueAction
.SetValue &&
810
propertyValueAction !=
PropertyValueAction
.IncreaseByAbsoluteValue &&
811
propertyValueAction !=
PropertyValueAction
.DecreaseByAbsoluteValue &&
812
propertyValueAction !=
PropertyValueAction
.IncreaseByPercentageValue &&
813
propertyValueAction !=
PropertyValueAction
.DecreaseByPercentageValue)
818
if (propertyValueAction !=
PropertyValueAction
.SetValue &&
1622
internal virtual void ApplyPropertyToTextVirtual(DependencyProperty formattingProperty, object value, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)
src\Framework\System\Windows\Documents\TextRangeEdit.cs (21)
230
internal static void SetInlineProperty(TextPointer start, TextPointer end, DependencyProperty formattingProperty, object value,
PropertyValueAction
propertyValueAction)
235
propertyValueAction ==
PropertyValueAction
.SetValue &&
723
SetParagraphProperty(start, end, property, value,
PropertyValueAction
.SetValue);
744
internal static void SetParagraphProperty(TextPointer start, TextPointer end, DependencyProperty property, object value,
PropertyValueAction
propertyValueAction)
788
private static void SetParagraphPropertyWorker(TextPointer start, TextPointer end, DependencyProperty property, object value,
PropertyValueAction
propertyValueAction)
838
private static void SetPropertyOnParagraphOrBlockUIContainer(DependencyObject parent, Block block, DependencyProperty property, object value,
PropertyValueAction
propertyValueAction)
1061
FlowDirection parentFlowDirection, FlowDirection flowDirection,
PropertyValueAction
propertyValueAction)
1119
/// and <see cref="
PropertyValueAction
"/>.
1128
private static double GetNewDoubleValue(DependencyProperty property, double currentValue, double newValue,
PropertyValueAction
propertyValueAction)
1136
private static double NewValue(double currentValue, double newValue,
PropertyValueAction
propertyValueAction)
1149
propertyValueAction ==
PropertyValueAction
.IncreaseByAbsoluteValue ? currentValue + newValue :
1150
propertyValueAction ==
PropertyValueAction
.DecreaseByAbsoluteValue ? currentValue - newValue :
1151
propertyValueAction ==
PropertyValueAction
.IncreaseByPercentageValue ? currentValue * (1.0 + newValue / 100) :
1152
propertyValueAction ==
PropertyValueAction
.DecreaseByPercentageValue ? currentValue * (1.0 - newValue / 100) :
1368
internal static void IncrementParagraphLeadingMargin(TextRange range, double increment,
PropertyValueAction
propertyValueAction)
1371
Invariant.Assert(propertyValueAction !=
PropertyValueAction
.SetValue);
1873
private static void SetNonStructuralInlineProperty(TextPointer start, TextPointer end, DependencyProperty formattingProperty, object value,
PropertyValueAction
propertyValueAction)
1886
if (propertyValueAction !=
PropertyValueAction
.SetValue)
1920
private static double GetNewFontSizeValue(double currentValue, double value,
PropertyValueAction
propertyValueAction)
1925
if (propertyValueAction ==
PropertyValueAction
.IncreaseByAbsoluteValue)
1929
else if (propertyValueAction ==
PropertyValueAction
.DecreaseByAbsoluteValue)
src\Framework\System\windows\Documents\TextSelection.cs (1)
1276
internal override void ApplyPropertyToTextVirtual(DependencyProperty formattingProperty, object value, bool applyToParagraphs,
PropertyValueAction
propertyValueAction)