Hi,
<telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name" >
<telerik:GridViewColumn.CellStyle>
<Style TargetType="{x:Type telerik:GridViewCell}" BasedOn="{StaticResource GridViewCellStyle}">
<Setter Property="ContentTemplate">
<Setter.Value>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<CheckBox x:Name="checkBox"/>
<TextBlock x:Name="textBlockA" Text="AAAAAAA"/>
<TextBlock x:Name="textBlockB" Text="BBBBBBB"/>
</StackPanel>
<DataTemplate.Triggers>
<DataTrigger Binding="{Binding ElementName=checkBox,Path=IsChecked}" Value="false">
<Setter TargetName="textBlockB" Property="Visibility" Value="Collapsed"/>
</DataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
</telerik:GridViewColumn.CellStyle>
</telerik:GridViewDataColumn>
I use your demo do a test about gridviewcolumn width, As the attach video show.
When I check the checkBox in column style,the column with stretch automatically,
when I unchecked, the column width do not get shorter. Is there any method make the column get shorter When I unchecked in the NameColumn