uwp-demos/SfCellGrid/Tutorials/FloatingCells.xaml

36 строки
1.7 KiB
XML

<Layout:SampleLayout x:Class="CellGridSamples.FloatingCells"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Layout="using:Common"
xmlns:cellgrid="using:Syncfusion.UI.Xaml.CellGrid"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Layout:SampleLayout.Sample>
<cellgrid:SfCellGrid x:Name="grid" />
</Layout:SampleLayout.Sample>
<Layout:SampleLayout.Setting>
<ContentControl>
<StackPanel Margin="5">
<TextBlock Margin="10,13,5,5"
FontWeight="Bold"
Text="Floating Cell Options:" />
<CheckBox x:Name="floatingcells"
Width="200"
Margin="5"
HorizontalAlignment="Center"
Click="floatingcells_Click"
Content="Allow Floating Cell"
IsChecked="True" />
<CheckBox x:Name="floatingCellOnEdit"
Width="200"
Margin="5"
HorizontalAlignment="Center"
Click="floatingCellOnEdit_Click"
Content="Allow Floating Cell in Edit"
IsChecked="True" />
</StackPanel>
</ContentControl>
</Layout:SampleLayout.Setting>
</Layout:SampleLayout>