Home Forums WPF controls Other WPF controls DropDownButton.DropDownContent Bindings broken when moved to 3.2.0

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • rajeshdhiman
    Participant
    Post count: 3
    #45104 |

    Hi I was using successfully DropDownButton since ExtendedWPFtoolkit 3.0.0

    I was working fine, recently i upgraded to ExtendedWPFtoolkit 3.2.0

    Databindings inside DropDownButton.DropDownContent XAML has broken.

    If in re-install ExtendedWPFtoolkit 3.0.0 it worked fine again.

    Bad part is it is not giving me any clue of broken bindings ExtendedWPFtoolkit 3.2.0

    below is the code which works fine in 3.0 but not in 3.2.0. Any binding inside DropDownButton.DropDownContent is broken.

    <xctk:DropDownButton Name=”DropDownButton” Height=”25″ AllowDrop =”True” Background=”White” Content=”Recent Access List ” Style=”{DynamicResource DropDownButtonStyle1}” >
    <xctk:DropDownButton.DropDownContent>
    <ListBox ItemsSource=”{Binding Path=RecentAccessList, Mode=OneWay}”>
    <ListBox.ItemTemplate >
    <DataTemplate>
    <Button
    HorizontalContentAlignment=”Left”
    Content=”{Binding Converter={StaticResource MyConverter}}”
    ToolTip=”{Binding}” Click=”ButtonBase_OnClick”
    CommandParameter=”{Binding}”
    Command=”{Binding DataContext.MyCommand, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type xctk:DropDownButton}, AncestorLevel=1}}”
    Style=”{StaticResource {x:Static ToolBar.ButtonStyleKey}}”>
    </Button>
    </DataTemplate>
    </ListBox.ItemTemplate>
    </ListBox>
    </xctk:DropDownButton.DropDownContent>
    </xctk:DropDownButton>

    Diane [Xceed]
    Moderator
    Post count: 1353

    Hi Rajesh,

    We first need to check if this issue has already been fixed.

    Please download a trial of the current version of the Toolkit Plus here:
    https://xceed.com/xceed-toolkit-plus-for-wpf/

    If the issue is still there with the current version, we would need a small stand-alone test project that reproduces the issue to help us investigate further. Please send it to support@xceed.com and include a link to this forum thread for reference. Thank you.

    rajeshdhiman
    Participant
    Post count: 3

    Hi I tested with https://xceed.com/xceed-toolkit-plus-for-wpf/

    It is working fine with this. But not working with ExtendedWPFtoolkit 3.2.0.

    Does it mean that i need to buy xceed-toolkit-plus-for-wpf ??

    I hope we must have a fix for it in xtendedWPFtoolkit 3.2.0

    Regards

    Rajesh Dhiman

    Diane [Xceed]
    Moderator
    Post count: 1353

    Hi Rajesh,

    The fix will officially be included in v3.3 of the free community edition.

    In the meantime, go in the following file:
    Xceed.Wpf.Toolkit/DropDownButton/Implementation/DropDownButton.cs

    And remove the following line in the constructor:
    this.InheritanceBehavior = InheritanceBehavior.SkipToThemeNow;

    Please let us know if this modification correctly fixes the issue you are having with v3.2. Thank you.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.