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

HorizontalContentAlignment doesn't work

3 Answers 73 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
Balaram Barange
Top achievements
Rank 1
Balaram Barange asked on 27 Jul 2009, 08:17 AM
Hi Team,

I want to align content of RadNumericUpDown to Left align. I have tried HorizontalContentAlignment="Left", but it doesn't work. Please suggest needful.

Thanks.

Sample:
File name: window1.xaml
XAML Content:
<Window x:Class="TelerikUpDown.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    Title="Window1" Height="300" Width="300">
    <Grid>
        <telerik:RadNumericUpDown Name="NumUpDown" Height="25"
                                  HorizontalContentAlignment="Left"
                                  SmallChange="1" Minimum="1" Maximum="10" Value="2"
                                  BorderThickness="0" LargeChange="5" ValueFormat="Numeric"
                                  Width="150">
        </telerik:RadNumericUpDown>
    </Grid>
</Window>

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 27 Jul 2009, 08:59 AM
Hi Balaram,

Please, download the latest version of our controls form 2009_2_0701.In the attached file you can find a example.

I hope this will help you

Kind regards,
Dimitrina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Steven
Top achievements
Rank 1
answered on 14 Dec 2009, 09:47 PM
Could you please provide a simialr example using C#. I was expecting something like this...

_ribbonButton.VerticalContentAlignment = System.Windows.VerticalAlignment.Bottom;

Many thanks

0
Dimitrina
Telerik team
answered on 17 Dec 2009, 08:34 AM
Hello Steven,

We apologize for this problem. It is already  fixed and the change will be reflected in the upcoming internal build.

Regards,
Dimitrina
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
NumericUpDown
Asked by
Balaram Barange
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Steven
Top achievements
Rank 1
Share this question
or