KaxMenuMaxDataBindDepth Property |
Gets or sets the maximum number of levels to bind to the
KaxMenu control.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax public override int MaxDataBindDepth { get; set; }
Public Overrides Property MaxDataBindDepth As Integer
Get
Set
public:
virtual property int MaxDataBindDepth {
int get () override;
void set (int value) override;
}
abstract MaxDataBindDepth : int with get, set
override MaxDataBindDepth : int with get, set
Property Value
Type:
Int32
The maximum number of levels to bind to the
KaxMenu control. The default is -1,
which binds all the levels in the data source to the control.
Remarks
When binding the
KaxMenu control to a data source, use the MaxDataBindDepth
property to limit the number of levels to bind to the control. For example, setting this property to 2 binds only
the root menu items and their immediate children. All remaining records in the data source are ignored.
See Also