Mini Kabibi Habibi
<UserControl x:Class="DevExpress.MailClient.Xpf.View.EditFeedView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d" Width="400" Height="135">
<UserControl.Resources>
<Style x:Key="FrameworkElementStyleBase" TargetType="{x:Type FrameworkElement}">
<Setter Property="Margin" Value="5,3"/>
</Style>
<Style BasedOn="{StaticResource FrameworkElementStyleBase}" TargetType="{x:Type TextBlock}">
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<Style BasedOn="{StaticResource FrameworkElementStyleBase}" TargetType="{x:Type dxe:TextEdit}"/>
<Style BasedOn="{StaticResource FrameworkElementStyleBase}" TargetType="{x:Type dxe:ComboBoxEdit}"/>
<Style BasedOn="{StaticResource FrameworkElementStyleBase}" TargetType="{x:Type Button}">
<Setter Property="MinWidth" Value="75"/>
</Style>
</UserControl.Resources>
<Grid Margin="5">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="10"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition Height="10"/>
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TextBlock Text="Caption:"/>
<dxe:TextEdit Grid.Column="2" Text="{Binding Header, Mode=TwoWay}" NullText="Please enter the header of the Feed"/>
<TextBlock Text="Group Name:" Grid.Row="1" />
<dxe:ComboBoxEdit Grid.Row="1" Grid.Column="2" ItemsSource="{Binding GroupsHeaders}" Text="{Binding GroupHeader, Mode=TwoWay}" IsTextEditable="True" />
<TextBlock Text="Link:" Grid.Row="2"/>
<dxe:TextEdit Grid.Row="2" Grid.Column="2" Text="{Binding Link, Mode=TwoWay}" NullText="Please enter the url of the Feed"/>
<StackPanel Grid.Row="4" Grid.ColumnSpan="3" Orientation="Horizontal" HorizontalAlignment="Right">
<Button Command="{Binding ApplyCommand}" CommandParameter="{Binding}">Ok</Button>
<Button Command="{Binding CancelCommand}">Cancel</Button>
</StackPanel>
</Grid>
</UserControl>