55 строки
3.5 KiB
XML
55 строки
3.5 KiB
XML
<democommon:DemoControl
|
|
x:Class="syncfusion.xlsiodemos.wpf.Slicer"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:democommon="clr-namespace:syncfusion.demoscommon.wpf;assembly=syncfusion.demoscommon.wpf"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
d:DesignHeight="200"
|
|
d:DesignWidth="800"
|
|
mc:Ignorable="d"
|
|
>
|
|
<ContentControl>
|
|
<Grid x:Name="DataManagement" Margin="5,0,0,0">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock x:Name="textBlock1" Grid.Row="2" Grid.ColumnSpan="4"/>
|
|
<TextBlock x:Name="textBlock2" Grid.Row="3" Grid.ColumnSpan="4" TextWrapping="Wrap" Text="Click the "Input Template" button to view the input Excel document and click the "Create Document" button to view the output Excel document. Please note that the Microsoft Excel viewer or Microsoft Excel is required to view the Excel document."/>
|
|
<TextBlock x:Name="textBlock3" Grid.Row="4" Grid.ColumnSpan="4"/>
|
|
<GroupBox Header="Choose the column to create a slicer" Name="groupBox1" Grid.Row="8" Grid.ColumnSpan="2" Height="138" VerticalAlignment="Top" Margin="0,0,67.667,0">
|
|
<Grid Margin="0,0,31.667,-23.333">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="9*" />
|
|
<ColumnDefinition Width="16*" />
|
|
</Grid.ColumnDefinitions>
|
|
<Label Name="label1" Content="Select Column:" Height="28" Margin="0,9,9.667,0" VerticalAlignment="Top" />
|
|
<Label Name="label2" Content="Select Column:" Height="28" Margin="0,0,0.667,65" VerticalAlignment="Bottom" />
|
|
<ComboBox Name="numColumn" Grid.ColumnSpan="2" VerticalAlignment="Top" HorizontalAlignment="Left" Width="121" Height="23" Margin="104,11,0,0" />
|
|
<ComboBox Name="numSecCol" Grid.ColumnSpan="2" VerticalAlignment="Top" HorizontalAlignment="Left" Height="23" Width="121" Margin="104,42,0,0" />
|
|
<Button Height="23" HorizontalAlignment="Left" Margin="5,0,0,25" Name="button1" VerticalAlignment="Bottom" Width="121" Click="button1_Click">Input Template</Button>
|
|
<Button Height="23" HorizontalAlignment="Left" Margin="20.333,0,0,25" Name="button2" VerticalAlignment="Bottom" Width="121" Click="button2_Click" Grid.Column="1">Create Document</Button>
|
|
</Grid>
|
|
</GroupBox>
|
|
</Grid>
|
|
</ContentControl>
|
|
</democommon:DemoControl> |