58 строки
4.2 KiB
XML
58 строки
4.2 KiB
XML
<democommon:DemoControl
|
|
x:Class="syncfusion.xlsiodemos.wpf.PivotTable"
|
|
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="BusinessIntelligence" 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 "Create Document" button to view the created Excel document and "Customize Pivot Table" button to view the Excel document created with customized pivot table. 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"/>
|
|
<StackPanel Name="stackPnlOptions1" Grid.Row="5" Grid.ColumnSpan="4" Orientation="Horizontal" HorizontalAlignment="Left">
|
|
<TextBlock x:Name="pagefilter" TextWrapping="Wrap" Text="Page Filter : "/>
|
|
<CheckBox Content="Page Filter" VerticalAlignment="Center" Name="chkboxPageFilter" Unchecked="chkboxPageFilter_Unchecked" Margin="10,0,0,0" IsChecked="True" Click="chkboxMultiplePageFilter_Unchecked" />
|
|
<CheckBox Content="Multiple Page Filter" VerticalAlignment="Center" Name="chkboxMultiplePageFilter" Unchecked="chkboxMultiplePageFilter_Unchecked" Margin="10,0,0,0" Click="chkboxPageFilter_Unchecked" />
|
|
</StackPanel>
|
|
<TextBlock x:Name="textBlock4" Grid.Row="6" Grid.ColumnSpan="4"/>
|
|
<StackPanel Name="stackPnlOptions2" Grid.Row="7" Grid.ColumnSpan="4" Orientation="Horizontal" HorizontalAlignment="Left">
|
|
<TextBlock x:Name="rowandcolumnfilter" TextWrapping="Wrap" Text="Row and Column Filter : "/>
|
|
<CheckBox Content="Row Filter" VerticalAlignment="Center" Name="chkboxRowFilter" Margin="10,0,0,0" />
|
|
<CheckBox Content="Column Filter" VerticalAlignment="Center" Name="chkboxColumnFilter" Margin="10,0,0,0" />
|
|
</StackPanel>
|
|
<TextBlock x:Name="textBlock5" Grid.Row="8" Grid.ColumnSpan="4"/>
|
|
<StackPanel Name="stackPnlOptions3" Grid.Row="9" Grid.ColumnSpan="4" Orientation="Horizontal" HorizontalAlignment="Left">
|
|
<CheckBox Content="Apply Grouping" VerticalAlignment="Center" Name="chkboxGroupingFilter" Margin="10,0,0,0" />
|
|
</StackPanel>
|
|
<Button x:Name="btnCreate" Grid.Row="12" Grid.ColumnSpan="1" Content="Create Document" HorizontalAlignment="Left" Click="btnCreate_Click" Height="Auto" Width="150" Padding="10,10,10,10" Margin="0,10" />
|
|
<Button x:Name="btnCustomize" Grid.Row="12" Grid.ColumnSpan="2" Content="Customize Pivot Table" HorizontalAlignment="Left" Click="btnCustomize_Click" VerticalAlignment="Top" Height="Auto" Width="160" Padding="10,10,10,10" Margin="160,10,0,0" />
|
|
</Grid>
|
|
</ContentControl>
|
|
</democommon:DemoControl> |