ComponentOne WebMenus and WebBars for ASP.NET: Design-Time Support > C1WebCommand2 Collection Editors > Bindings Collection Editor

Bindings Collection Editor

The Bindings Collection Editor is an application in the C1.Web.Command.Design assembly. The main part of the editor's application consists of a windows form which conveniently allows the user to add or remove the data members bound to a C1WebCommand2 control. In addition to adding or removing data members, you can set the properties for each data member.

For more information on using the Bindings Collection Editor, see Bind C1WebTreeView to an XML File.

To access the Bindings Collection Editor

To view the Bindings Collection Editor, complete the following steps:

1.   Right-click on any C1WebCommand2 control and select Show Smart Tag.

2.   Select Edit Bindings from its Tasks menu.

Elements in the Bindings Collection Editor

The following images illustrate how the Bindings Collection Editor appears (in this example the data members are from an .XML file).

Properties Available in the Bindings Collection Editor

The following table includes the name and description of the properties available in the Bindings Collection Editor.

 

Property

Description

DataMember

Gets or sets the value to match against a data item's System.We.UI.HierarchyData.Type property to determine whether to apply the binding.

Depth

Gets or sets the node depth at which the TreeNodeBinding object is applied.

CommandArgumentField

Gets or sets the name of the field from the data source to bind to the CommandName property of an object to which the C1WebBinding object is applied.

CommandNameField

Gets or sets the name of the field from the data source to bind to the DisabledItemStyle.ImageUrl property of an object to which the C1WebBinding object is applied.

ImageUrlField

Gets or sets the name of the field from the data source to bind to the ItemStyle.ImageUrl property of an object to which the C1WebBinding object is applied.

MouseOverImageUrlField

Gets or sets the name of the field from the data source to bind to the MouseOverItemStyle.ImageUrl property of an object to which the C1WebBinding object is applied.

MouseOverSelectedImageUrlField

Gets or sets the name of the field from the data source to bind to the MouseOverSelectedItemStyle.ImageUrl property of an object to which the C1WebBinding object is applied.

NavigateUrlField

Gets or sets the name of the field from the data source to bind to the NavigateUrl property of an object to which the C1WebBinding object is applied.

SelectedImageUrlField

Gets or sets the name of the field from the data source to bind to the SelectedItemStyle.ImageUrl property of an object to which the C1WebBinding object is applied.

TargetField

Gets or sets the name of the field from the data source to bind to the Target property of an object to which the C1WebBinding object is applied.

TextField

Gets or sets the name of the field from the data source to bind to the Text property of an object to which the C1WebBinding object is applied.

ToolTipField

Gets or sets the name of the field from the data source to bind to the ToolTipField property of an object to which the C1WebBinding object is applied.

CommandArgument

Gets or sets the CommandArgument for the item to which the C1WebBinding object is applied.

CommandName

Gets or sets the CommandName for the item to which the C1WebBinding object is applied.

DisabledImageUrl

Gets or sets the DisabledImageUrl for the item to which the C1WebBinding object is applied.

ImageUrl

Gets or sets the ImageUrl for the item to which the C1WebBinding object is applied.

MouseOverImageUrl

Gets or sets the MouseOverImageUrl for the item to which the C1WebBinding object is applied.

MouseOverSelectedImageUrl

Gets or sets the MouseOverSelectedImageUrl for the item to which the C1WebBinding object is applied.

NavigateUrl

Gets or sets the NavigateUrl for the item applied to the C1WebBinding object.

PopulateOnDemand

Gets or sets a value that indicates whether the item of the C1WebBinding object is populated dynamically.

SelectedImageUrl

Gets or sets the SelectedImageUrl for the item to which the C1WebBinding object is applied.

Target

Gets or sets the Target for the item to which the C1WebBinding object is applied.

Text

Gets or sets the text displayed for the item to which the C1WebBinding object is applied.

ToolTip

Gets or sets the ToolTip for the item to which the C1WebBinding object is applied.


Send comments about this topic to ComponentOne.
Copyright © 1987-2009 ComponentOne LLC. All rights reserved.