<Page
	x:Class="_07_AdvancedChat.Views.CreateGroupChatRoom"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:linphone="using:Linphone">

	<Grid>

		<StackPanel VerticalAlignment="Center">

			<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Vertical">
				<TextBlock Text="Group ChatRoom subject :" />
				<TextBox x:Name="Subject" PlaceholderText="A subject" />
				<CheckBox x:Name="SecureCheckBox" Content="I want a secure ChatRoom" />
			</StackPanel>

			<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal" Margin="0,10,0,10">
				<TextBox x:Name="Address" Width="350" MinWidth="350" MaxWidth="350" Text="sip:" />
				<Button x:Name="AddAddress" Click="AddAddress_Click" Content="Add" HorizontalAlignment="Center" VerticalAlignment="Center" />
			</StackPanel>

			<ListView x:Name="AddressesLV" SelectionMode="None" IsItemClickEnabled="False">
				<ListView.ItemTemplate>
					<DataTemplate x:DataType="linphone:Address">
						<TextBlock Text="{x:Bind AsString()}" FontSize="14" />
					</DataTemplate>
				</ListView.ItemTemplate>
			</ListView>

			<Button x:Name="Create" Click="Create_Click" Content="Create" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,10,0,0" />
		</StackPanel>
	</Grid>
</Page>