Skip to content

Multiple conditional styles documentation wrong #439

Description

@DschaeffK

The documentation reads "... if multiple predicates return true, the last matching style wins" but actually the first predicate wins. Looked up the code and saw that EnsureStyle() in TableViewCell calls .FirstOrDefault(), returning the first matching style.

Confirmed it with code, where I changed the order of the conditional styles and the first matching predicate always won.

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