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) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
See GetColumnDefinitions, SetColumnDefinitions

Property Value

ColumnDefinitionCollection
Example
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