IDataFactoryRequest Interface
Provides the core requirements of a request made to an IDataFactory.
public interface IDataFactoryRequest
Properties
AreAttachedPropertiesBrowsable
Gets whether attached properties are browsable and are displayed in the property grid.
bool AreAttachedPropertiesBrowsable { get; }
Property Value
- bool:
true
if attached properties are browsable and are displayed in the property grid; otherwisefalse
.
AreCategoriesAutoExpanded
Gets whether categories are auto-expanded when they are added into the property grid.
bool AreCategoriesAutoExpanded { get; }
Property Value
- bool:
true
if categories are auto-expanded when they are added into the property grid; otherwisefalse
.
AreInheritedPropertiesBrowsable
Gets whether inherited properties are browsable and are displayed in the property grid.
bool AreInheritedPropertiesBrowsable { get; }
Property Value
- bool:
true
if inherited properties are browsable and are displayed in the property grid; otherwisefalse
.
AreNestedCategoriesSupported
Gets whether nested categories are supported, using a special syntax in the category name.
bool AreNestedCategoriesSupported { get; }
Property Value
- bool:
true
if nested categories are supported; otherwisefalse
.
ArePropertiesAutoExpanded
Gets whether expandable properties are auto-expanded when they are added into the property grid.
bool ArePropertiesAutoExpanded { get; }
Property Value
- bool:
true
if expandable properties are auto-expanded when they are added into the property grid; otherwisefalse
.
AreReadOnlyPropertiesBrowsable
Gets or sets whether read-only properties are browsable and are displayed in the property grid.
bool AreReadOnlyPropertiesBrowsable { get; }
Property Value
- bool:
true
if read-only properties are browsable and are displayed in the property grid; otherwisefalse
.
BrowsableAttributes
Gets or sets an array of Attribute objects that are used to determine which properties are browsable.
IEnumerable<Attribute> BrowsableAttributes { get; }
Property Value
- IEnumerable<Attribute>:
The array of Attribute objects that are used to determine which properties are browsable. The default value is a list with a single entry of
BrowsableAttribute.Yes
.
CategoryEditors
Gets the category editors that can consume and display one or more properties.
IEnumerable<CategoryEditor> CategoryEditors { get; }
Property Value
- IEnumerable<CategoryEditor>:
The category editors that can consume and display one or more properties.
CollectionPropertyDisplayMode
Gets or sets a CollectionPropertyDisplayMode that indicates the display mode of collection properties.
CollectionPropertyDisplayMode CollectionPropertyDisplayMode { get; }
Property Value
- CollectionPropertyDisplayMode:
A CollectionPropertyDisplayMode that indicates the display mode of collection properties. The default value is
CollectionPropertyDisplayMode.Default
.
DataObjects
Gets the objects for which data models are being requested.
IList<object> DataObjects { get; }
Property Value
IsCategorized
Gets whether properties are categorized.
bool IsCategorized { get; }
Property Value
- bool:
true
if properties are categorized; otherwise,false
.
IsHostReadOnly
Gets whether the host UI control (e.g. a property grid) is read-only.
bool IsHostReadOnly { get; }
Property Value
- bool:
true
if the host UI control (e.g. a property grid) is read-only; otherwise,false
.
MiscCategoryName
Gets the name used for the miscellaneous category.
string MiscCategoryName { get; }
Property Value
- string:
The name used for the miscellaneous category.
Parent
Gets the IDataModel, if any, that is making the request.
IDataModel Parent { get; }
Property Value
- IDataModel:
The IDataModel, if any, that is making the request.
Remarks
This property will not return a value if the request is for the root data models.
Properties
Gets the explicitly-defined properties that should be displayed.
IEnumerable<IPropertyModel> Properties { get; }
Property Value
- IEnumerable<IPropertyModel>:
the explicitly-defined properties that should be displayed
PropertyExpandability
Gets a PropertyExpandability that indicates the expandability of properties.
PropertyExpandability PropertyExpandability { get; }
Property Value
- PropertyExpandability:
A PropertyExpandability that indicates the expandability of properties.
SortComparer
Gets the DataModelSortComparer to use for sorting data models.
DataModelSortComparer SortComparer { get; }
Property Value
- DataModelSortComparer:
The DataModelSortComparer to use for sorting data models.
Source
Gets the object or control that originally made the request.
object Source { get; }
Property Value
- object:
The object or control that originally made the request.
Tag
Gets or sets custom data for the request.