Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

NavigationItemGroup.Bindings Property

Gets the collection of bindings that map fields or properties of the data source to item properties.

[Visual Basic]
Overridable Public ReadOnly Property Bindings As DataBindingCollection
[C#]
public virtual DataBindingCollection Bindings {get;}

Remarks

Use Bindings to define the mappings between data fields and item properties as well as the format strings. For example, the following defines a binding to map "WebSite" column in data source to "Text-Html" property in menu item:

<eo:Menu runat="server" DataFields="Country|State|City">
    <Bindings>
        <eo:MenuDataBinding
            Property="Text-Html"
            DataField="WebSite"
            Depth="2"
    </eo:Bindings>
</eo:Menu>

You can define data binding for the whole control or only for an individual group. To define binding for the whole control, add binding to BaseNavigator's Bindings property; to define binding for an individual group, add binding to the NavigationItemGroup's Bindings property.

For more information about data binding, see data binding.

See Also

NavigationItemGroup Class | EO.Web Namespace


Direct link to this topic