56 lines
3.5 KiB
XML
56 lines
3.5 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:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
|
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
|
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid" xmlns:tsWPFCore="clr-namespace:tsWPFCore;assembly=tsWPFCore" x:Class="ucConceptosApuntes"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="768" d:DesignWidth="1366">
|
|
<tsWPFCore:tsUserControl.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="pack://application:,,,/tsWPFCore;component/Plantillas.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</tsWPFCore:tsUserControl.Resources>
|
|
<Grid>
|
|
<dxlc:LayoutControl Orientation="Vertical">
|
|
<dxlc:LayoutGroup View="GroupBox" Header="Búsqueda Rápida" Orientation="Vertical" x:Name="BusquedaRapida">
|
|
<dxlc:LayoutGroup Width="600" HorizontalAlignment="Left" >
|
|
<dxlc:LayoutGroup Orientation="Vertical">
|
|
<tsWPFCore:tsLayoutItem Label="Búsqueda:" FontWeight="Bold" >
|
|
<dxe:TextEdit x:Name="teBusqueda" TabIndex="0" FontWeight="Normal" />
|
|
</tsWPFCore:tsLayoutItem>
|
|
</dxlc:LayoutGroup>
|
|
<Button Content="Buscar" Height="25" Width="100" x:Name="btBuscar" Click="BtBuscar_Click" IsDefault="True" TabIndex="1" />
|
|
</dxlc:LayoutGroup>
|
|
<dxlc:LayoutItem Label="Campos de búsqueda:">
|
|
<Border BorderThickness="1" BorderBrush="Black" >
|
|
<StackPanel Orientation="Horizontal" >
|
|
<TextBlock x:Name="tbCamposBusqueda" Text="idConcepto, Codigo, Concepto"/>
|
|
<TextBlock Margin="20,0,0,0" Text="(En Blanco Muestra Todos)" FontWeight="Bold" ></TextBlock>
|
|
</StackPanel>
|
|
</Border>
|
|
</dxlc:LayoutItem>
|
|
</dxlc:LayoutGroup>
|
|
<tsWPFCore:tsGridControl x:Name="gc" >
|
|
<tsWPFCore:tsGridControl.PropiedadesTS>
|
|
<tsWPFCore:PropiedadesTS Modificable="NoModificable"/>
|
|
</tsWPFCore:tsGridControl.PropiedadesTS>
|
|
<tsWPFCore:tsGridControl.PropiedadesTSGC>
|
|
<tsWPFCore:PropiedadesTSGC />
|
|
</tsWPFCore:tsGridControl.PropiedadesTSGC>
|
|
<dxg:GridControl.Columns>
|
|
<dxg:GridColumn FieldName="idConcepto" Width="120" IsSmart="True" CellTemplate="{DynamicResource VerDetalleTemplate}" />
|
|
<dxg:GridColumn FieldName="Concepto" Width="400" IsSmart="True" />
|
|
<dxg:GridColumn FieldName="Codigo" Header="Código" Width="100" IsSmart="True" />
|
|
</dxg:GridControl.Columns>
|
|
<dxg:GridControl.View>
|
|
<tsWPFCore:tsTableView x:Name="tv" ShowSearchPanelMode="Always" AllowEditing="False" ShowGroupPanel="True" ShowTotalSummary="True" />
|
|
</dxg:GridControl.View>
|
|
</tsWPFCore:tsGridControl>
|
|
</dxlc:LayoutControl>
|
|
</Grid>
|
|
</tsWPFCore:tsUserControl> |