Class DataSourceTypeEditor
Provides an abstract base class for property editors that require inspecting the runtime notifications of an operator to provide their functionality.
public abstract class DataSourceTypeEditor : UITypeEditor
- Inheritance
-
DataSourceTypeEditor
- Derived
- Inherited Members
Constructors
DataSourceTypeEditor(DataSource)
Initializes a new instance of the DataSourceTypeEditor class using the specified data source.
protected DataSourceTypeEditor(DataSourceTypeEditor.DataSource source)
Parameters
source
DataSourceTypeEditor.DataSourceSpecifies the source of runtime notifications to the property editor.
DataSourceTypeEditor(DataSource, Type)
Initializes a new instance of the DataSourceTypeEditor class using the specified data source and target data type.
protected DataSourceTypeEditor(DataSourceTypeEditor.DataSource source, Type targetType)
Parameters
source
DataSourceTypeEditor.DataSourceSpecifies the source of runtime notifications to the property editor.
targetType
TypeThe type of values emitted by the data source.
Methods
GetDataSource(ITypeDescriptorContext, IServiceProvider)
Gets the source of runtime notifications arriving to or from the operator.
protected InspectBuilder GetDataSource(ITypeDescriptorContext context, IServiceProvider provider)
Parameters
context
ITypeDescriptorContextAn ITypeDescriptorContext object that can be used to obtain additional context information.
provider
IServiceProviderAn IServiceProvider object that this editor can use to obtain services.
Returns
- InspectBuilder
An InspectBuilder object that can be used to subscribe to runtime notifications arriving to or from the operator.