dotnet / dotnet/wpf

Window resource style does not apply to control

Open
#9,570 2 comments 1 reaction 0 assignees View on GitHub
:mailbox_with_no_mail: waiting-author-feedback
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

### Description

If we have an own watermark class to define the Watermark for the MS control. The Window resource style does not apply to the watermark control. Please find the sample below.,

### Reproduction Steps

1. Run the sample.
2. Note: Watermark text is not applied the style.

[TextBxForeColor.zip](https://github.com/user-attachments/files/16612607/TextBxForeColor.zip)

### Expected behavior

Style value need to be update in inter control of the MS control.

### Actual behavior

Given Window style is not applied to watermark control

### Regression?

_No response_

### Known Workarounds

_No response_

### Impact

_No response_

### Configuration

_No response_

### Other information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.