HorizontalContentAlignment doesn't work

4 posts, 0 answers
  1. Balaram Barange
    Balaram Barange avatar
    28 posts
    Member since:
    Apr 2009

    Posted 27 Jul 2009 Link to this post

    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>
  2. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 27 Jul 2009 Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Steven
    Steven avatar
    26 posts
    Member since:
    Jan 2008

    Posted 14 Dec 2009 Link to this post

    Could you please provide a simialr example using C#. I was expecting something like this...

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

    Many thanks

  5. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 17 Dec 2009 Link to this post

    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.
Back to Top