Hi,
We are using v8.1 of NetAdvantage for WPF.
I have XamDataGrid with long text as header. But when setting AutoFit = "true", Text are getting clipped. attachement has screen shot where header's are getting trim/clipped.
I have applied following styles to Grid.
<Style x:Key="DefaultCellValueStyle" TargetType="{x:Type igDP:CellValuePresenter}">
<Setter Property="HorizontalContentAlignment" Value="Center" />
<Setter Property="VerticalContentAlignment" Value="Center" />
</Style>
<igDP:FieldLayoutSettings x:Key="StandardFieldLayoutSettings" ResizingMode="Default"
DataRecordCellAreaStyle="{StaticResource AltRowBackground}"
AllowDelete="False" AutoGenerateFields="False" AutoArrangeCells="Never"
RecordSelectorLocation="None" DataRecordSizingMode="SizableSynchronized"
SelectionTypeField="Single" SelectionTypeRecord="Single" />
<igDP:FieldSettings x:Key="StandardFieldSettings" AllowEdit="False" CellClickAction="SelectRecord"
LabelClickAction="SortByOneFieldOnly" LabelTextWrapping="Wrap"
LabelTextTrimming="None" LabelTextAlignment="Center"
CellValuePresenterStyle="{StaticResource DefaultCellValueStyle}"/>
<Style x:Key="StandardGridStyle" TargetType="{x:Type igDP:XamDataGrid}">
<Setter Property="GroupByAreaLocation" Value="None" />
<Setter Property="Height" Value="Auto" />
<Setter Property="Width" Value="Auto" />
<Setter Property="AutoFit" Value="True" />
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="VerticalAlignment" Value="Stretch" />
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Hidden" />
<Setter Property="UpdateMode" Value="OnCellChangeOrLostFocus" />
<Setter Property="ScrollingMode" Value="Immediate" />
<Setter Property="CellContainerGenerationMode" Value="PreLoad" />
<Setter Property="FieldLayoutSettings" Value="{StaticResource StandardFieldLayoutSettings}" />
<Setter Property="FieldSettings" Value="{StaticResource StandardFieldSettings}" />
Please help with this.
Thanks
Shrenik