Gets or sets a value that determines whether item headers are displayed in a DataRepeater control.
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
When is set to True, an item header is displayed on the left side of each item in the DataRepeater control, or across the top of each item when the LayoutStyle property is set to Horizontal. When an item is selected, the item header for that item is changed to the SelectionColor and a selection symbol is shown in the header. When data in the DataRepeater item has been changed but not yet saved, a pencil symbol is displayed.
When is set to False and an item is selected, a dotted line that indicates selection is displayed inside the border of the item.
The following code example demonstrates how to change the item selection behavior in a DataRepeater control by setting the property. It assumes that you have a form that contains a DataRepeater control named DataRepeater1 and a Button control named Button1.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.