Control.DataKeysContainer Property

Definition

Gets a reference to the naming container if the naming container implements IDataKeysControl.

[System.ComponentModel.Bindable(false)]
[System.ComponentModel.Browsable(false)]
public System.Web.UI.Control DataKeysContainer { get; }

Property Value

The naming container. In a hierarchy of naming containers that implement IDataKeysControl, the property returns the naming container at the top of the hierarchy, or null if the current Control object is not in a naming container that implements IDataKeysControl.

Attributes

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1