Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

BaseValueSource Enumeration

Identifies the property system source of a particular dependency property value.

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)
public enum BaseValueSource
<object property="enumerationMemberName" .../>
Member nameDescription
DefaultSource is the default value, as defined by property metadata.
DefaultStyleSource is from a setter in the default style. The default style comes from the current theme.
DefaultStyleTriggerSource is from a trigger in the default style. The default style comes from the current theme.
ImplicitStyleReferenceSource is an implicit style reference (style was based on detected type or based type). This value is only returned for the Style property itself, not for properties that are set through setters or triggers of such a style.
InheritedSource is a value through property value inheritance.
LocalSource is a locally set value.
ParentTemplateSource is based on a parent template being used by an element.
ParentTemplateTriggerSource is a trigger-based value from a parent template that created the element.
StyleSource is from a style setter of a non-theme style.
StyleTriggerSource is a trigger-based value of a non-theme style.
TemplateTriggerSource is a trigger-based value in a template that is from a non-theme style.
UnknownSource is not known. This is the default value.

This enumeration is used by a property within the ValueSource structure, which in turn is obtained by calling a GetValueSource method against a particular dependency property.

Each value of this enumeration indicates that a particular aspect of the overall WPF property system was responsible for the effective value determination of a certain dependency property value on a specific dependency object. To learn more about the WPF property system and the precedence at which each aspect of the property system operates, see Dependency Property Value Precedence.

The value Default is not the default value of the enumeration.

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.