Creates virtualized PropertyGrid row elements, including item-specific and handler-selected element types.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class PropertyGridItemElementProvider : VirtualizedPanelElementProvider<PropertyGridItemBase, PropertyGridItemElementBase>, IVirtualizedElementProvider<PropertyGridItemBase>
Inheritance: objectBaseVirtualizedElementProvider<PropertyGridItemBase>VirtualizedPanelElementProvider<PropertyGridItemBase, PropertyGridItemElementBase>PropertyGridItemElementProvider
Implements:
Inherited Members
Constructors
Creates a provider associated with the specified table element.
public PropertyGridItemElementProvider(PropertyGridTableElement propertyGridElement)
The table element that supplies item settings and creation callbacks.
Properties
Gets the table element associated with this provider.
protected PropertyGridTableElement PropertyGridElement { get; }
Methods
Creates the element type selected for the item and allows the table's callback to override that type.
public override IVirtualizedElement<PropertyGridItemBase> CreateElement(PropertyGridItemBase data, object context)
The item for which to create an element.
contextobjectThe virtualization context passed to the provider.
Returns:IVirtualizedElement<PropertyGridItemBase>
The selected visual element, or the base provider's element when no type is selected.
Overrides:
Uses the item's positive height override, or the table element's item height when no override is set.
public override SizeF GetElementSize(PropertyGridItemBase item)
The item whose visual height is requested.
Returns:A size with zero width and the selected item height.
Overrides: