<
OLAP for WPF and Silverlight | ComponentOne
In This Topic
    XAML Quick Reference
    In This Topic

    This topic is dedicated to providing a quick overview of the XAML used to create a the OLAP for WPF and Silverlight controls.

    To get started developing, add a c1 namespace declaration in the root element tag:

    xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml"
    

    Below is the XAML:

    XAML
    Copy Code
    <!-- olap page -->
    <c1:C1OlapPageHorizontalAlignment="Left"Margin="28,12,0,0"Name="c1OlapPage1"VerticalAlignment="Top"Height="426"Width="528"/>
    <!-- olap panel -->
    <c1:C1OlapPanelHorizontalAlignment="Left"Margin="26,11,0,0"Name="c1OlapPanel1"VerticalAlignment="Top"Height="307"Width="393"/>
    <!-- olap grid -->
        <BorderStyle="{StaticResource_border}"Grid.Row="1"Grid.Column="1">
          <c1:C1OlapGridx:Name="_olapGrid"Margin="4"SortedColumn="_olapGrid_SortedColumn"/>
        </Border>
        <!-- olap chart -->
        <BorderStyle="{StaticResource_border}"Grid.Row="1"Grid.Column="3">
          <c1:C1OlapChartx:Name="_olapChart"Margin="4"/>
        </Border>