Skip to content

Problems when changing ItemRightBehavior in VisualState Trigger #8

Description

@byrialsen

Hi

In my UWP project I try to change the value of the SwipeListView.ItemRightBehavior in a VisualState Trigger. Doing it in designtime in Blend gives me an "The property value is not valid" error, and running the app gives the following error message.

Error: Converter failed to convert value of type 'Windows.Foundation.Int32' to type 'SwipeListBehavior'; BindingExpression: Path='ItemRightBehavior' DataItem='Universal.UI.Xaml.Controls.SwipeListView'; target element is 'Universal.UI.Xaml.Controls.SwipeListViewItem' (Name='null'); target property is 'RightBehavior' (type 'SwipeListBehavior').

Any suggestions on how to fix it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions