You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are currently many areas in Material and Cupertino that are hardcoding references to specific brush resources within the template of the control.
Example:
The Disabled VisualState for TextBox forces the Border.Fill and PlaceholderElement.Foreground to specific brush resources. This is limiting the amount of customization that client apps should have over the default Material/Cupertino styles.
There are currently many areas in Material and Cupertino that are hardcoding references to specific brush resources within the template of the control.
Example:
The Disabled VisualState for TextBox forces the Border.Fill and PlaceholderElement.Foreground to specific brush resources. This is limiting the amount of customization that client apps should have over the default Material/Cupertino styles.
One idea would be to follow Microsoft's path for Lightweight Styling. This is already being done for certain styles, like here for the V2 FAB styles.
Another approach would be to take advantage of TemplateSettings classes, which @Xiaoy312 can explain further.
The text was updated successfully, but these errors were encountered: