<Application x:Class="Application"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    StartupUri="MainWindow.xaml">
  <Application.Resources>
    <XmlDataProvider x:Key="xmlTelefonos"
      Source="Datos/telefonos.xml" XPath="listatelefonos/persona"/>

    <!-- Estilo texto cabecera -->
    <Style x:Key="EstiloTextoCabecera">
      <Setter Property="Label.VerticalAlignment" Value="Center"></Setter>
      <Setter Property="Label.FontFamily" Value="Arial"></Setter>
      <Setter Property="Label.FontWeight" Value="Bold"></Setter>
      <Setter Property="Label.FontSize" Value="20"></Setter>
      <Setter Property="Label.Foreground" Value="#0088dd"></Setter>
    </Style>

    <!-- Estilo cabecera de la lista -->
    <Style x:Key="EstiloCabeceraDeLista" TargetType="{x:Type Border}">
      <Setter Property="Height" Value="40" />
      <Setter Property="Margin" Value="0,0,10,0"/>
      <Setter Property="Padding" Value="5" />
      <Setter Property="Background" Value="#4F99E4" />
    </Style>

    <!-- Estilo texto de la cabecera de la lista -->
    <Style x:Key="EstiloTextoCabeceraDeLista" TargetType="{x:Type Label}">
      <Setter Property="Foreground" Value="White" />
      <Setter Property="VerticalAlignment" Value="Center" />
      <Setter Property="HorizontalAlignment" Value="Left" />
    </Style>

    <!-- Estilo LixtBox -->
    <Style x:Key="EstiloLixtBox" TargetType="{x:Type ListBox}">
      <Setter Property="Margin" Value="0,0,10,0" />
      <Setter Property="Padding" Value="5" />
    </Style>

    <!-- Estilo Button -->
    <Style x:Key="EstiloButton" TargetType="{x:Type Button}">
      <Setter Property="Width" Value="130" />
      <Setter Property="Height" Value="25" />
      <Setter Property="Margin" Value="0,10,10,10" />
      <Setter Property="HorizontalAlignment" Value="Right" />
    </Style>

    <!-- Estilo Border -->
    <Style x:Key="EstiloBorder" TargetType="{x:Type Border}">
      <Setter Property="BorderBrush" Value="Blue" />
      <Setter Property="BorderThickness" Value="2" />
      <Setter Property="Margin" Value="0,0,10,10" />
      <Setter Property="Padding" Value="7" />
    </Style>

    <!-- Estilo TextBlock -->
    <Style x:Key="EstiloTextBlock" TargetType="{x:Type TextBlock}">
      <Setter Property="VerticalAlignment" Value="Center" />
      <Setter Property="HorizontalAlignment" Value="Left" />
      <Setter Property="FontWeight" Value="Bold" />
      <Setter Property="Margin" Value="5" />
    </Style>

    <!-- Estilo Control -->
    <Style x:Key="EstiloControl">
      <Setter Property="Control.VerticalAlignment" Value="Center" />
      <Setter Property="Control.HorizontalAlignment" Value="Left" />
      <Setter Property="Control.Margin" Value="5" />
    </Style>

    <!-- Estilo TextBox -->
    <Style x:Key="EstiloTextBox" TargetType="{x:Type TextBox}">
      <Setter Property="VerticalAlignment" Value="Center" />
      <Setter Property="Margin" Value="5" />
    </Style>
  </Application.Resources>
</Application>
