Gets or sets a style that contains settings common to all bands generated using different templates. This is a dependency property.
A Style object that is the style that contains settings common to all bands generated using different templates.
The GridControl can be bound to a collection of objects containing band settings, described in a Model or ViewModel. The GridControl generates bands based on band templates. Using a single template, you can create an unlimited number of bands in an unlimited number of grid controls.
To specify settings common to all bands generated using different templates, create a style and assign it to the BandGeneratorStyle property.
<UserControl.Resources> <Style x:Key="BandStyle" TargetType="dxg:GridControlBand"> <Setter Property="AllowResizing" Value="False"/> </Style> </UserControl.Resources>
To learn more, see Binding to a Collection of Bands.