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

  • DataSourceHolder(..)

    Initializes a new instance of the class with no name and no delegate. Set the Name and Delegate properties.

    Parameters

    • None.

Properties

Example

var editor = new Control("divEditor");

editor.DataSources.Add(new DataSourceHolder
{
	Name = "Education",
	Delegate = Utility.GetSchools
});

Ask on Stack Overflow - Yes, it's still active
Ask in GitHub Discussions

p102

l097 --

l102

p101

×