DataSource DataSource DataSource DataSource Class


Represents the location and grouping for a BaseProperty.

public ref class DataSource sealed : System::ComponentModel::ISupportInitialize
public sealed class DataSource : System.ComponentModel.ISupportInitialize
type DataSource = class
    interface ISupportInitialize
Public NotInheritable Class DataSource
Implements ISupportInitialize


If you manually instantiate this class, call BeginInit before you set the first property of the object and EndInit after you set the last property.


DataSource() DataSource() DataSource() DataSource()

Parameterless constructor. Required for correct XAML deserialization.


HasConfigurationCondition HasConfigurationCondition HasConfigurationCondition HasConfigurationCondition

Gets or sets a flag that determines whether a property is configuration-dependent, as indicated by the presence of a configuration condition that is attached to the property definition at its persistence location.

ItemType ItemType ItemType ItemType

Gets or sets the item type of the data source.

Label Label Label Label

Gets or sets the label of the MSBuild property group/item definition group to which a property/item definition metadata belongs.

MSBuildTarget MSBuildTarget MSBuildTarget MSBuildTarget

Gets or sets the semicolon-delimited list of MSBuild targets that must be executed before reading the read-only properties or items of this data source.

PersistedName PersistedName PersistedName PersistedName

Gets or sets the actual MSBuild property name used to read/write the value of this property.

Persistence Persistence Persistence Persistence

Gets or sets the storage location for this data source.

SourceOfDefaultValue SourceOfDefaultValue SourceOfDefaultValue SourceOfDefaultValue

Gets or sets the value of a DefaultValueSourceLocation which indicates the location of the default value for this data source.

SourceType SourceType SourceType SourceType

Gets or sets the data type of the source, which governs how the data is treated during build.


BeginInit() BeginInit() BeginInit() BeginInit()

See BeginInit().

EndInit() EndInit() EndInit() EndInit()

See EndInit().

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to