Articles in this section
Category / Section

How to create floating PivotSchemaDesigner

1 min read

PivotSchema Designer is a separate control that can be loaded at anywhere with the Pivot Grid Control within the browser layout. We have created a simple samples to illustrate about, PivotSchemaDesigner loaded with the PivotGridControl in the left side of the Layout.

XAML

<Grid x:Name="schemaDesignerContainer" Margin="5" HorizontalAlignment="Stretch" VerticalAlignment="Top" >

                        <pivotSchemaDesigner:PivotSchemaDesigner Name="pivotSchemaDesigner"/>

                    </Grid>

 

C#

pivotSchemaDesigner.PivotControl = this.pivotGrid1;

 

C:\Users\labuser\Dropbox\Screenshots\Screenshot 2014-05-23 18.24.43.png

Figure: pivot Grid with Schema designer on left

 

Pivot Schema Designer also can be loaded at another window and it can be docked at anywhere in the browser layout. We have used Syncfusion windows control to load the Pivot Schema Designer.

XAML

<StackPanel Margin="5">

                                        <TextBlock FontWeight="Bold"> Load Schema Designer</TextBlock>

                                        <Button Name="ShowSchema" Height="25" Width="200" Content="Load Schema Designer" HorizontalAlignment="Left" Click="ShowSchema_Click" />

                                    </StackPanel>

 

C#

private void ShowSchema_Click(object sender, RoutedEventArgs e)

        {

            SilverlightControl1 SchemaDesigner = new SilverlightControl1();

            SchemaDesigner.pivotSchemaDesigner.PivotControl = this.pivotGrid1;

            SchemaDesigner.Show();

        }

 

D:\documentation\Untitled.jpg

Figure: Pivot Grid with Floating Schema Designer

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied