Files
SanchoToro/GestionGrupoSanchoToro/ucFiestas.xaml
2026-01-23 12:45:41 +01:00

46 lines
2.5 KiB
XML

<tsWPF:tsUserControl
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:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
x:Class="ucFiestas"
xmlns:tsWPF="clr-namespace:tsWPFCore;assembly=tsWPFCore"
mc:Ignorable="d"
d:DesignHeight="1024" d:DesignWidth="1280">
<tsWPF:tsUserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/tsWPFCore;component/Plantillas.xaml" />
</ResourceDictionary.MergedDictionaries>
<Style x:Key="RejillaAnidadaStyle" TargetType="{x:Type dxg:RowControl}">
<Setter Property="Background" Value="#B0E0E6" />
</Style>
</ResourceDictionary>
</tsWPF:tsUserControl.Resources>
<Grid x:Name="grid">
<tsWPF:tsGridControl x:Name="gcFiestas" NombreTablaBase="fiestas" AutoExpandAllGroups="True" >
<tsWPF:tsGridControl.PropiedadesTSGC>
<tsWPF:PropiedadesTSGC/>
</tsWPF:tsGridControl.PropiedadesTSGC>
<tsWPF:tsGridControl.PropiedadesTS>
<tsWPF:PropiedadesTS Modificable="NoModificable"/>
</tsWPF:tsGridControl.PropiedadesTS>
<dxg:GridControl.Columns>
<tsWPF:tsGridColumn FieldName="idFiesta" Header="Nº Fiesta" IsSmart="True" Width="100" CellTemplate="{DynamicResource VerDetalleTemplate}" />
<dxg:GridColumn FieldName="Fecha" Header="Fecha Factura" IsSmart="True" Width="100" >
<dxg:GridColumn.EditSettings>
<dxe:DateEditSettings DisplayFormat="d"/>
</dxg:GridColumn.EditSettings>
</dxg:GridColumn>
<tsWPF:tsGridColumn FieldName="Descripcion" Header="Descripción" IsSmart="True" Width="400" />
</dxg:GridControl.Columns>
<dxg:GridControl.View >
<tsWPF:tsTableView x:Name="tvFiestas" ShowSearchPanelMode="Always" AllowEditing="False" />
</dxg:GridControl.View>
</tsWPF:tsGridControl>
</Grid>
</tsWPF:tsUserControl>