This is a migrated thread and some comments may be shown as answers.

FooterTextAlignment

1 Answer 155 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Valerio Giorgi
Top achievements
Rank 1
Valerio Giorgi asked on 03 Dec 2009, 08:54 AM
Why doesn't the FooterTextAlignment property in the following style work?
<Teltrik:GridViewDataColumn FooterTextAlignment="Right" FooterCellStyle="{DynamicResource FooterCellStyle}" CellStyle="{DynamicResource RightAlignedCellStyle}" Width="120" DataMemberBinding="{Binding UnaTantum,Converter={StaticResource EuroConverter}, ConverterParameter=\{0:c\}}" >  
                    <Teltrik:GridViewDataColumn.Header>  
                        <StackPanel Margin="30,0,0,0" HorizontalAlignment="Center" Orientation="Vertical" >  
                            <TextBlock HorizontalAlignment="Center" Text="Una Tantum"></TextBlock>  
                        </StackPanel>  
                    </Teltrik:GridViewDataColumn.Header>  
                    <Teltrik:GridViewColumn.AggregateFunctions>  
                        <telerikData:SumFunction ResultFormatString="{}{0:c}" SourceField="UnaTantum"></telerikData:SumFunction>  
                    </Teltrik:GridViewColumn.AggregateFunctions>  
                </Teltrik:GridViewDataColumn> 

I tried also to set both FooterTextAlignment="Left" and FooterTextAlignment="Center" but nothing changed!!!

The style FooterCellStyle is:
<Style x:Key="FooterCellStyle" TargetType="{x:Type GridView:GridViewFooterCell}">  
        <Setter Property="FontWeight" Value="Bold"></Setter>  
    </Style> 

Please help me

1 Answer, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 03 Dec 2009, 12:57 PM
Hi Valerio Giorgi,

We are working on a fix for TextAlignment as we speak. It should make our service pack early next week.

Kind regards,
Kalin Milanov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Valerio Giorgi
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
Share this question
or