<Grid> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition/> </Grid.RowDefinitions> <StackPanel Orientation="Horizontal"> <!--Insert table without parameter.--> <Button Content="InsertTableCommand with empty parameter" Width="150" Height="40" Margin="5" Command="Syncfusion:SfRichTextBoxAdv.InsertTableCommand" CommandTarget="{Binding ElementName=richTextBoxAdv}"></Button> <!--Insert table command with string parameter. The string specifies the row size and column size separated by comma.--> <Button Content="InsertTableCommand with string parameter" Width="150" Height="40" Margin="5" Command="Syncfusion:SfRichTextBoxAdv.InsertTableCommand" CommandParameter="2,3" CommandTarget="{Binding ElementName=richTextBoxAdv}"></Button> <!--Insert table command with integer array parameter. Array contains 2 values row and column count respectively.--> <Button Content="InsertTableCommand with int array parameter" Width="150" Height="40" Margin="5" Command="Syncfusion:SfRichTextBoxAdv.InsertTableCommand" CommandTarget="{Binding ElementName=richTextBoxAdv}"> <Button.CommandParameter> <x:ArrayExtension Type="Sys:Int32"> <Sys:Int32>2</Sys:Int32> <Sys:Int32>3</Sys:Int32> </x:ArrayExtension> </Button.CommandParameter> </Button> </StackPanel> <Syncfusion:SfRichTextBoxAdv x:Name="richTextBoxAdv" Grid.Row="1"/> |