Skip to content

[Fluent] Fix ListView and GridView style issues #10911

Open
@dipeshmsft

Description

@dipeshmsft

Here are the broad categories of tasks that need to be done per control for this:

  1. Match resource usage in control styles with WinUI resources where possible
  2. Add animations for controls where required to match WinUI.
  3. Compare Fluent styles with Aero2 styles to match
    3.a. Properties like HorizontalAlignment, VerticalAlignment
    3.b. TemplateBinding comparison with Aero2 styles
  4. Compare WPF Fluent styles with WinUI styles :
    4.a. Convert ControlTemplate Triggers to VisualStates ( to simplify animation's and bring parity with WinUI styles )
    4.b. Convert StaticResource's to DynamicResource for properties where customization is needed.
    4.c. Define resources for CornerRadius, Thickness, etc. for the controls where it is needed

Here are the known issues in ListView and GridView style right now:

  1. ListViewItem does not respond to IsPressed event. Currently there is a trigger for IsMouseOver only, and we are not able to differentiate between IsMouseOver and IsPressed states of ListViewItem ( same for GridView as well ).
  2. No visual difference when IsEnabled = False is set on a ListView ( same for GridView ).
  3. Cursor for GridView header does not seem to be what is generally used for other controls.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions