65 lines
3.9 KiB
XML
65 lines
3.9 KiB
XML
<dx:DXWindow xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
|
xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
|
|
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
|
|
xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking"
|
|
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
|
xmlns:dxgt="http://schemas.devexpress.com/winfx/2008/xaml/grid/themekeys"
|
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" xmlns:dxrud="http://schemas.devexpress.com/winfx/2008/xaml/reports/userdesigner" xmlns:Serialization="clr-namespace:DevExpress.Xpf.LayoutControl.Serialization;assembly=DevExpress.Xpf.LayoutControl.v23.2" x:Class="dxwDiseñoColumnas"
|
|
ShowInTaskbar="True"
|
|
ShowIcon="False" Title="Diseño columnas" WindowStyle="ToolWindow" WindowState="Normal" WindowStartupLocation="CenterScreen" Topmost="True" Width="1024" Height="600">
|
|
<dx:DXWindow.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="pack://application:,,,/tsWPFCore;component/Plantillas.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</dx:DXWindow.Resources>
|
|
<Grid x:Name="grid">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="45" />
|
|
</Grid.RowDefinitions>
|
|
<dxlc:LayoutControl Orientation="Vertical">
|
|
<dxg:GridControl x:Name="gc" Grid.Row="0">
|
|
<dxg:GridControl.View>
|
|
<dxg:TableView x:Name="tv" ShowSearchPanelMode="Always" ShowCheckBoxSelectorColumn="True" AllowEditing="False" ShowTotalSummary="True" />
|
|
</dxg:GridControl.View>
|
|
<dxg:GridColumn FieldName="Descripcion" Header="Descripción" Width="800" AllowEditing="False">
|
|
<dxg:GridColumn.EditSettings>
|
|
<dxe:TextEditSettings MaxLength="100" />
|
|
</dxg:GridColumn.EditSettings>
|
|
</dxg:GridColumn>
|
|
<dxg:GridColumn FieldName="TodosLosUsuarios" Header="Todos Los Usuarios" AllowEditing="False" IsSmart="True" x:FieldModifier="public" x:Name="gcTodosUsuarios" />
|
|
</dxg:GridControl>
|
|
<dxlc:LayoutGroup x:Name="lgOpcionesGuardado">
|
|
<dxlc:LayoutItem Label="Descripción:">
|
|
<dxe:TextEdit x:Name="teDescripcion" />
|
|
|
|
</dxlc:LayoutItem>
|
|
<dxlc:LayoutItem Label="Guardar Diseño para todos los usuarios:" HorizontalAlignment="Left" HorizontalContentAlignment="Left" TabIndex="1" x:FieldModifier="public" x:Name="liGuardarParaTodos">
|
|
<dxe:CheckEdit x:Name="cbTodosUsuarios" />
|
|
</dxlc:LayoutItem>
|
|
</dxlc:LayoutGroup>
|
|
</dxlc:LayoutControl>
|
|
<Grid Grid.Row="1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="10" />
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="10" />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="50" />
|
|
<ColumnDefinition Width="120" />
|
|
<ColumnDefinition Width="50" />
|
|
<ColumnDefinition Width="120" />
|
|
</Grid.ColumnDefinitions>
|
|
<Button Grid.Column="1" x:Name="btAceptar" Grid.Row="1" Width="120" IsDefault="True" Click="btAceptar_Click" TabIndex="0" Content="Guardar Diseño" />
|
|
<Button Grid.Column="3" x:Name="btCancelar" Grid.Row="1" Width="120" IsCancel="True" Click="btCancelar_Click" TabIndex="1" Content="Cancelar" />
|
|
</Grid>
|
|
</Grid>
|
|
|
|
|
|
</dx:DXWindow>
|