Arrange text in the ComboBox

I try to create some correct XAML to arrange text in the ComboBox to the right, but I cannot.

Here is my XAMl... Any clue what I am missing? Thank you!

 <ComboBox Height="25" HorizontalAlignment="Left"  ItemsSource="{Binding NonArchivedSequences}"  
                  SelectedItem="{Binding SelectedSequence}"
                  Margin="0,0,0,4" Name="cbSequences" VerticalAlignment="Top" Width="504"                   
                  HorizontalContentAlignment="Stretch" SelectionChanged="cbSequences_SelectionChanged" Grid.Column="1">
                <DataTemplate x:Key="DataTemplateSequenceData">
                            <ColumnDefinition Width="*"/>
                            <ColumnDefinition Width="Auto"/>
                        <TextBlock Margin="4,2,2,4" TextWrapping="Wrap" Text="{Binding Interval}" d:LayoutOverrides="Width, Height" VerticalAlignment="Center" HorizontalAlignment="Left" />
                        <TextBlock Margin="4,2,2,4" TextWrapping="Wrap" Text="{Binding Name}" d:LayoutOverrides="Width, Height" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Left" />
                <StaticResource ResourceKey="DataTemplateSequenceData"/>


Maybe HorizonalAllignment="Right" You have Left

Need Your Help

How to call WCF Service on Local Machine

c# .net wcf mef wcf-binding

We have an environment where multiple WCF services are hosted on a single VM and (multiple VM in) server farm behind a fire wall. There are certain services that make calls to other services. Curre...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.