Gets or sets a value indicating whether table view is used for data binding (shown in the DataMember property of bound controls).
Namespace:
C1.Data.SchemaObjectsAssembly: C1.Data.2 (in C1.Data.2.dll)
Syntax
C# |
---|
[XmlAttributeAttribute] [DefaultValueAttribute(true)] public virtual bool ExposedInBinding { get; set; } |
Visual Basic (Declaration) |
---|
<XmlAttributeAttribute> _ <DefaultValueAttribute(True)> _ Public Overridable Property ExposedInBinding As Boolean Get Set |
Remarks
The default value of this property is True.
If this property is set to False, the table view will be available only programmatically (through the C1DataSet.TableViews[] collection), but data binding will not see it. A data bound control, such as a grid, has only table views with ExposedInBinding=True available for selection in its DataMember property for data binding.
Use this property to hide table views that you only need programmatically and do not need to appear in bound controls for the end user.
This property shows/hides individual TableView objects in data binding. If you need to show/hide a whole path of TableView objects, use the ExposedInBinding()()()() property.