41 references to BaseValueSource
PresentationFramework (23)
MS\Internal\Documents\TextBoxView.cs (6)
3086
BaseValueSource
textAlignmentSource = DependencyPropertyHelper.GetValueSource(host, TextBox.TextAlignmentProperty).BaseValueSource;
3087
BaseValueSource
horizontalAlignmentSource = DependencyPropertyHelper.GetValueSource(host, TextBox.HorizontalContentAlignmentProperty).BaseValueSource;
3090
if (textAlignmentSource ==
BaseValueSource
.Local)
3095
if (horizontalAlignmentSource ==
BaseValueSource
.Local)
3103
if ((textAlignmentSource ==
BaseValueSource
.Default) &&
3104
(horizontalAlignmentSource !=
BaseValueSource
.Default))
System\Windows\Controls\Calendar.cs (1)
507
if (DependencyPropertyHelper.GetValueSource(d, Calendar.FirstDayOfWeekProperty).BaseValueSource ==
BaseValueSource
.Default)
System\Windows\Controls\DataGridHelper.cs (2)
336
return DependencyPropertyHelper.GetValueSource(d, dp).BaseValueSource ==
BaseValueSource
.Default;
392
var
maxBaseValueSource = propertySource.BaseValueSource;
System\Windows\Controls\DataGridRow.cs (1)
507
if (valueSource.BaseValueSource ==
BaseValueSource
.Local)
System\Windows\Controls\DatePicker.cs (1)
401
if (DependencyPropertyHelper.GetValueSource(datePicker, DatePicker.FirstDayOfWeekProperty).BaseValueSource ==
BaseValueSource
.Default)
System\Windows\Controls\ItemsControl.cs (4)
83
BaseValueSource
baseValueSource = DependencyPropertyHelper.GetValueSource(d, VirtualizingStackPanel.ScrollUnitProperty).BaseValueSource;
84
if (((ItemsControl)d).IsGrouping && baseValueSource ==
BaseValueSource
.Default)
105
BaseValueSource
baseValueSource = DependencyPropertyHelper.GetValueSource(d, VirtualizingStackPanel.CacheLengthUnitProperty).BaseValueSource;
106
if ( !((ItemsControl)d).IsGrouping && !(d is TreeView) && baseValueSource ==
BaseValueSource
.Default )
System\Windows\Controls\Primitives\Popup.cs (1)
175
if (vs.BaseValueSource <=
BaseValueSource
.Inherited)
System\Windows\DependencyPropertyHelper.cs (3)
59
_baseValueSource = (
BaseValueSource
)source;
70
public
BaseValueSource
BaseValueSource
155
BaseValueSource
_baseValueSource;
System\Windows\Documents\Run.cs (1)
146
if (!_isInsideDeferredSet && (_changeEventNestingCount == 0 || (textPropertySource.BaseValueSource ==
BaseValueSource
.Local
System\windows\Documents\TextSelection.cs (2)
1497
System.Windows.DependencyPropertyHelper.GetValueSource(element, inheritableProperties[i]).BaseValueSource !=
BaseValueSource
.Inherited)
1507
System.Windows.DependencyPropertyHelper.GetValueSource(element, noninheritableProperties[i]).BaseValueSource !=
BaseValueSource
.Inherited)
System\Windows\FrameworkElement.cs (1)
2441
if (vs.BaseValueSource >
BaseValueSource
.Inherited)
System.Windows.Controls.Ribbon (18)
Microsoft\Windows\Controls\Generated\PropertyHelper.cs (2)
18
return DependencyPropertyHelper.GetValueSource(d, dp).BaseValueSource ==
BaseValueSource
.Default;
74
var
maxBaseValueSource = propertySource.BaseValueSource;
Microsoft\Windows\Controls\KeyTipService.cs (1)
909
if (DependencyPropertyHelper.GetValueSource(element, FrameworkElement.LanguageProperty).BaseValueSource !=
BaseValueSource
.Default)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (1)
553
if (vs.BaseValueSource <=
BaseValueSource
.ImplicitStyleReference)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (2)
586
BaseValueSource
newValueSource = DependencyPropertyHelper.GetValueSource(ribbonGroup, ForegroundProperty).BaseValueSource;
587
if (newValueSource >
BaseValueSource
.Inherited && !SystemParameters.HighContrast)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (10)
199
public
BaseValueSource
ValueSource { get; set; }
217
if (v.ValueSource ==
BaseValueSource
.Local)
1437
var
baseValueSource = propertySource.BaseValueSource;
1439
if (baseValueSource ==
BaseValueSource
.Default)
1498
var
baseValueSource = propertySource.BaseValueSource;
1500
if (baseValueSource ==
BaseValueSource
.Default)
1557
performTransfer |= DependencyPropertyHelper.GetValueSource(original, originalProperty).BaseValueSource >
BaseValueSource
.Default;
1561
performTransfer |= DependencyPropertyHelper.GetValueSource(original, originalProperty).BaseValueSource >=
BaseValueSource
.ParentTemplate;
2268
BaseValueSource
baseValueSource = DependencyPropertyHelper.GetValueSource(
2270
if (baseValueSource >=
BaseValueSource
.ParentTemplate)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
583
if (vs.BaseValueSource <=
BaseValueSource
.ImplicitStyleReference)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
558
if (vs.BaseValueSource <=
BaseValueSource
.ImplicitStyleReference)