Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
905
A control contained in a OutlookBarGroup is loaded twice
posted

Sure would like to understand why a control which is declared in xaml within an OutlookBarGroup is loaded twice

Unable to upload a sample project due to 200Kb file size limit, so will post the xaml which is failing

The TextBoxControl_Loaded event handler is called twice

<igOB:XamWebOutlookBar

    x:Name="XamWebOutlookBar"

    MinimizedWidth="38"

    HorizontalAlignment="Stretch"

    VerticalAlignment="Stretch"

    Grid.Row="0" Grid.Column="0">

    <igOB:OutlookBarGroup Header="OutlookBarGroup 1" IsSelected="True" x:Name="OB1BarGroup" Key="OB1BarGroup">

        <TextBox x:Name="TextBoxControl" Text="TextBoxControl" Loaded="TextBoxControl_Loaded" />

    </igOB:OutlookBarGroup>

    <igOB:OutlookBarGroup Header="OutlookBarGroup 2" IsSelected="False" x:Name="OB2BarGroup" Key="OB2BarGroup">

    </igOB:OutlookBarGroup>

    <igOB:OutlookBarGroup Header="OutlookBarGroup 3" IsSelected="False" x:Name="OB3BarGroup" Key="OB3BarGroup">

    </igOB:OutlookBarGroup>

</igOB:XamWebOutlookBar>