Click or drag to resize

StyleBindingsColumnDefinitions Attached Property

This property is needed to set column definitions via a Style or from a resource.

Namespace:  TomsToolbox.Wpf
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax
See GetColumnDefinitions, SetColumnDefinitions

Property Value

Type: ColumnDefinitionCollection
Examples
XAML
<Style TargetType="Grid">
  <Setter Property="core:StyleBindings.ColumnDefinitions">
    <Setter.Value>
      <core:ColumnDefinitionCollection>
        <ColumnDefinition Width="Auto" SharedSizeGroup="Col1" />
        <ColumnDefinition Width="20" />
        <ColumnDefinition Width="*" />
      </core:ColumnDefinitionCollection>
    </Setter.Value>
  </Setter>
See Also