Skip to content

Searchbar Icon Color #22963

@AsadAli629

Description

@AsadAli629

Description

i am using a SearchBar Tag which has a Background Color Of White that is given by me. but the By deafult Color if Icon in SearchBar is also white . So the SearchBar icon color is not visible due to the same color. There is No attributes to define icon Color in searchbar like" CancelButtonColor" . So we can say that this is Bug / Misbehave of attributes.

Steps to Reproduce

                <SearchBar  x:Name="searchbar"  PlaceholderColor="LightGray" Placeholder="Search..." TextColor="Black" BackgroundColor="Black" CancelButtonColor="Black" Grid.ColumnSpan="2" HorizontalOptions="StartAndExpand" VerticalOptions="Center" WidthRequest="300" StyleClass="" AutomationProperties.IsInAccessibleTree="False" Background="#E81515" />

Link to public reproduction project repository

No response

Version with bug

8.0.40 SR5

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows 11

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-searchbarSearchBar controlpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/windowspotential-regressionThis issue described a possible regression on a currently supported version., verification pendings/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions