42 lines
		
	
	
	
		
			2.8 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
	
		
			2.8 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<UserControl x:Class="SafeExamBrowser.UserInterface.Desktop.Controls.ActionCenterWirelessNetworkControl"
 | 
						|
             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:d="http://schemas.microsoft.com/expression/blend/2008"
 | 
						|
             xmlns:fa="http://schemas.fontawesome.io/icons/"
 | 
						|
             xmlns:local="clr-namespace:SafeExamBrowser.UserInterface.Desktop.Controls"
 | 
						|
             mc:Ignorable="d" d:DesignHeight="100" d:DesignWidth="125">
 | 
						|
    <UserControl.Resources>
 | 
						|
        <ResourceDictionary>
 | 
						|
            <ResourceDictionary.MergedDictionaries>
 | 
						|
                <ResourceDictionary Source="../Templates/Buttons.xaml" />
 | 
						|
                <ResourceDictionary Source="../Templates/Colors.xaml" />
 | 
						|
                <ResourceDictionary Source="../Templates/ScrollViewers.xaml" />
 | 
						|
            </ResourceDictionary.MergedDictionaries>
 | 
						|
        </ResourceDictionary>
 | 
						|
    </UserControl.Resources>
 | 
						|
    <Grid x:Name="Grid" Background="{StaticResource ActionCenterDarkBrush}" Height="64" Margin="2">
 | 
						|
        <Popup x:Name="Popup" IsOpen="False" Placement="Top" PlacementTarget="{Binding ElementName=Button}">
 | 
						|
            <Border Background="Gray">
 | 
						|
                <ScrollViewer MaxHeight="250" VerticalScrollBarVisibility="Auto" Template="{StaticResource SmallBarScrollViewer}">
 | 
						|
                    <StackPanel x:Name="NetworksStackPanel" />
 | 
						|
                </ScrollViewer>
 | 
						|
            </Border>
 | 
						|
        </Popup>
 | 
						|
        <Button x:Name="Button" Padding="2" Template="{StaticResource ActionCenterButton}" ToolTipService.ShowOnDisabled="True">
 | 
						|
            <Grid>
 | 
						|
                <Grid.RowDefinitions>
 | 
						|
                    <RowDefinition Height="2*" />
 | 
						|
                    <RowDefinition Height="3*" />
 | 
						|
                </Grid.RowDefinitions>
 | 
						|
                <Grid Grid.Row="0" HorizontalAlignment="Center" VerticalAlignment="Center">
 | 
						|
                    <Viewbox x:Name="SignalStrengthIcon" Stretch="Uniform" Width="Auto" />
 | 
						|
                    <fa:ImageAwesome x:Name="NoAdapterIcon" Foreground="Red" Icon="Ban" Margin="1" Opacity="0.3" Visibility="Collapsed" />
 | 
						|
                    <fa:ImageAwesome x:Name="LoadingIcon" Foreground="Black" Icon="Cog" Margin="5" Spin="True" SpinDuration="2" Visibility="Collapsed" />
 | 
						|
                    <Image x:Name="NetworkStatusIcon" Height="7" HorizontalAlignment="Right" Margin="-2,0" Panel.ZIndex="10" VerticalAlignment="Bottom" />
 | 
						|
                </Grid>
 | 
						|
                <TextBlock Grid.Row="1" x:Name="Text" FontSize="11" Foreground="White" TextAlignment="Center" TextTrimming="CharacterEllipsis" TextWrapping="Wrap" VerticalAlignment="Bottom" />
 | 
						|
            </Grid>
 | 
						|
        </Button>
 | 
						|
    </Grid>
 | 
						|
</UserControl>
 |