[]
        
(Showing Draft Content)

C1.Data.DataSource.BaseControlHandler

BaseControlHandler Class

A base class for control handlers that connect GUI controls of supported types to a C1DataSource so that those controls can be given additional functionality such as auto-lookup columns and virtual mode.

Inheritance
BaseControlHandler
Namespace: C1.Data.DataSource
Assembly: C1.Data.Entity.4.8.dll
Syntax
public abstract class BaseControlHandler : DependencyObject, IDisposable, ISupportInitialize
Remarks

Use platform-specific control handlers for your controls: C1.Win.Data.ControlHandler, C1.WPF.Data.ControlHandler, and C1.Silverlight.Data.ControlHandler.

The list of supported GUI controls for each platform can be found in the reference of that platform's ControlHandler.

Constructors

Name Description
BaseControlHandler()

Fields

Name Description
AutoLookupProperty

The DependencyProperty for the AutoLookup property.

VirtualModeProperty

The DependencyProperty for the VirtualMode property.

Properties

Name Description
AutoLookup

Gets or sets a value indicating whether data grid columns bound to navigation (foreign key, lookup) properties must be converted to combo box columns, so the user can see the right value and edit it by choosing a value from a drop-down list. The default value is False.

SupportsVirtualMode

Gets a value indicating whether this control handler supports Virtual Mode.

VirtualMode

Gets or sets a value indicating whether virtual mode specified in a ClientViewSource is managed by this control handler.

Methods

Name Description
Apply()

Forces this control handler to apply its settings to the current control.