Export (0) Print
Expand All

HierarchicalDataTemplate.ItemBindingGroup Property

Updated: July 2008

Gets or sets the BindingGroup that is copied to each child item.

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

'Declaration
Public Property ItemBindingGroup As BindingGroup
'Usage
Dim instance As HierarchicalDataTemplate 
Dim value As BindingGroup 

value = instance.ItemBindingGroup

instance.ItemBindingGroup = value
<object>
  <object.ItemBindingGroup>
    <BindingGroup .../>
  </object.ItemBindingGroup>
</object>

Property Value

Type: System.Windows.Data.BindingGroup
The BindingGroup that is copied to each child item.

When you set the ItemBindingGroup property, each item container gets a BindingGroup that has the same ValidationRule objects as the ItemBindingGroup, but the properties that describe the data in the bindings, such as Items and BindingExpressions, are specific to the data for each item in the ItemsControl. You must access the item container's BindingGroup to perform operations such as validate the data and check for errors on an item.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1, 3.0 SP2

Date

History

Reason

July 2008

Added topic for new member.

SP1 feature change.

Community Additions

ADD
Show:
© 2014 Microsoft