DesignData Property

DomainDataSource.DesignData Property

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets or sets the data to use at design time.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

[BrowsableAttribute(false)]
[BindableAttribute(false)]
public IEnumerable DesignData { get; set; }

Property Value

Type: System.Collections.IEnumerable
The data to use at design time.

This property allows for support of design-time sample data and it also enhances the design-time support of the DomainDataSource control.

The DesignData property accepts an IEnumerable{T} for any entity type and, at design-time, provides that value to the Data property.

Show:
© 2016 Microsoft