DataSourceHolder Class
Assembly: CodeEffects.Rule.Editor.dll
Namespace: CodeEffects.Rule.Editor.Models
Summary
This class is used to hold named instances of GetDataSourceDelegate types utilized by custom Dynamic Menu Data Sources.
Syntax
public class DataSourceHolder
Constructors
Properties
Example
var editor = new Control("divEditor");
editor.DataSources.Add(new DataSourceHolder
{
Name = "Education",
Delegate = Utility.GetSchools
});