52 lines
3.4 KiB
XML
52 lines
3.4 KiB
XML
<tsWPFCore: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:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
|
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
|
|
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core" xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid" xmlns:tsWPFCore="clr-namespace:tsWPFCore;assembly=tsWPFCore" xmlns:bdGrupoSanchoToro="clr-namespace:bdGrupoSanchoToro;assembly=bdGrupoSanchoToro" x:Class="ucAsientosModelos"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="768" d:DesignWidth="1366">
|
|
<UserControl.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="pack://application:,,,/tsWPFCore;component/Plantillas.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</UserControl.Resources>
|
|
<Grid>
|
|
<dxlc:LayoutControl Orientation="Vertical">
|
|
<dxlc:LayoutGroup View="GroupBox" Header="Filtros" x:Name="lgFiltrosBusquedaRapida" Width="Auto" Orientation="Vertical" HorizontalAlignment="Stretch" >
|
|
<dxlc:LayoutGroup Width="650" HorizontalAlignment="Left" >
|
|
<dxlc:LayoutGroup Orientation="Vertical">
|
|
|
|
<tsWPFCore:tsLayoutItem Label="Búsqueda:" FontWeight="Bold" >
|
|
<dxe:TextEdit x:Name="teBusqueda" TabIndex="0" x:FieldModifier="public" FontWeight="Normal" />
|
|
</tsWPFCore:tsLayoutItem>
|
|
<dxlc:LayoutItem Label="Campos de búsqueda:" x:Name="liCamposBusqueda" >
|
|
<Border BorderThickness="1" BorderBrush="Black" >
|
|
<TextBlock x:Name="tbCamposBusqueda" Text="Código, Descripción, Nº Cuenta, Importe, Nº Documento"/>
|
|
</Border>
|
|
</dxlc:LayoutItem>
|
|
</dxlc:LayoutGroup>
|
|
<Button Content="Buscar" Height="25" Width="100" x:Name="btBuscar" Click="BtBuscar_Click" IsDefault="True" TabIndex="1" />
|
|
</dxlc:LayoutGroup>
|
|
</dxlc:LayoutGroup>
|
|
<tsWPFCore:tsGridControl x:Name="gc" TabIndex="1">
|
|
<tsWPFCore:tsGridControl.PropiedadesTS>
|
|
<tsWPFCore:PropiedadesTS Modificable="NoModificable"/>
|
|
</tsWPFCore:tsGridControl.PropiedadesTS>
|
|
<dxg:GridControl.Columns>
|
|
<dxg:GridColumn FieldName="idAsientoModelo" Header="id Asiento Mod." Width="100" IsSmart="True" CellTemplate="{DynamicResource VerDetalleTemplate}" />
|
|
<dxg:GridColumn FieldName="Codigo" Header="Código" Width="120" IsSmart="True"/>
|
|
<dxg:GridColumn FieldName="Descripcion" Width="300" IsSmart="True"/>
|
|
</dxg:GridControl.Columns>
|
|
<dxg:GridControl.View>
|
|
<tsWPFCore:tsTableView AllowEditing="False" ShowTotalSummary="True" ShowSearchPanelMode="Always" ShowGroupPanel="True" />
|
|
</dxg:GridControl.View>
|
|
</tsWPFCore:tsGridControl>
|
|
</dxlc:LayoutControl>
|
|
</Grid>
|
|
</tsWPFCore:tsUserControl>
|