Files
tsWPF/ucListado.xaml
2026-05-14 08:45:02 +02:00

39 lines
1.9 KiB
XML

<UserControl
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="ucListado"
xmlns:tsWPF="clr-namespace:tsWPF"
mc:Ignorable="d"
d:DesignHeight="1024" d:DesignWidth="1280">
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/tsWPF;component/Plantillas.xaml" />
</ResourceDictionary.MergedDictionaries>
<Style x:Key="RejillaAnidadaStyle" TargetType="{x:Type dxg:RowControl}">
<Setter Property="Background" Value="#B0E0E6" />
</Style>
</ResourceDictionary>
</UserControl.Resources>
<Grid x:Name="grid">
<tsWPF:tsGridControl x:Name="gc" AutoGenerateColumns="AddNew" >
<tsWPF:tsGridControl.PropiedadesTS>
<tsWPF:PropiedadesTS Modificable="NoModificable"/>
</tsWPF:tsGridControl.PropiedadesTS>
<tsWPF:tsGridControl.PropiedadesTSGC>
<tsWPF:PropiedadesTSGC/>
</tsWPF:tsGridControl.PropiedadesTSGC>
<dxg:GridControl.Columns>
</dxg:GridControl.Columns>
<dxg:GridControl.View >
<dxg:TableView x:Name="tv" AllowEditing="False" AutoWidth="True" />
</dxg:GridControl.View>
</tsWPF:tsGridControl>
</Grid>
</UserControl>