Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Add Win10 and Fluent TextBox styles #4331

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

punker76
Copy link
Member

Describe the changes you have made to improve this project

  • Add new attached property ControlsHelper.DisabledBorderBrush
  • Add new TextBox style values
    • TextControlBorderThemeThickness
    • TextControlThemePadding
    • TextControlBorderThemeThicknessFocused
    • TextControlPlaceholderMargin
  • Add new Win10 style: MahApps.Styles.TextBox.Win10
  • Add new Fluent style: MahApps.Styles.TextBox.Fluent
  • Add new brushes:
    • MahApps.Brushes.TextControl.Background
    • MahApps.Brushes.TextControl.BackgroundPointerOver
    • MahApps.Brushes.TextControl.BackgroundFocused
    • MahApps.Brushes.TextControl.BackgroundDisabled
    • MahApps.Brushes.TextControl.BorderBrush
    • MahApps.Brushes.TextControl.BorderBrushPointerOver
    • MahApps.Brushes.TextControl.BorderBrushFocused
    • MahApps.Brushes.TextControl.BorderBrushDisabled
    • MahApps.Brushes.TextControl.Foreground
    • MahApps.Brushes.TextControl.ForegroundPointerOver
    • MahApps.Brushes.TextControl.ForegroundFocused
    • MahApps.Brushes.TextControl.ForegroundDisabled
    • MahApps.Brushes.TextControl.PlaceholderForeground
    • MahApps.Brushes.TextControl.PlaceholderForegroundPointerOver
    • MahApps.Brushes.TextControl.PlaceholderForegroundFocused
    • MahApps.Brushes.TextControl.PlaceholderForegroundDisabled
    • MahApps.Brushes.TextControl.HeaderForeground
    • MahApps.Brushes.TextControl.HeaderForegroundDisabled
    • MahApps.Brushes.TextControl.SelectionHighlightColor
    • MahApps.Brushes.TextControl.ButtonBackground
    • MahApps.Brushes.TextControl.ButtonBackgroundPointerOver
    • MahApps.Brushes.TextControl.ButtonBackgroundPressed
    • MahApps.Brushes.TextControl.ButtonBorderBrush
    • MahApps.Brushes.TextControl.ButtonBorderBrushPointerOver
    • MahApps.Brushes.TextControl.ButtonBorderBrushPressed
    • MahApps.Brushes.TextControl.ButtonForeground
    • MahApps.Brushes.TextControl.ButtonForegroundPointerOver
    • MahApps.Brushes.TextControl.ButtonForegroundPressed

BREAKING CHANGE: change background for dark theme

Change the dark theme background from #FF252525 to #FF141414.

2022-07-15_23h16_48

2022-07-15_23h17_24

2022-07-15_23h17_50

2022-07-15_23h18_06

Closed Issues

Closes #3209

@punker76 punker76 added this to the 3.0.0 milestone Jul 15, 2022
@punker76 punker76 changed the title Add Win10 and Fluent TextBox styles WIP Add Win10 and Fluent TextBox styles Jul 15, 2022
@punker76 punker76 force-pushed the jk/win10_fluent_textbox branch 2 times, most recently from cc16572 to 61d0493 Compare August 25, 2022 21:35
@punker76 punker76 force-pushed the jk/win10_fluent_textbox branch 2 times, most recently from 0a33fde to 4e833cc Compare October 8, 2022 20:06
@JackDjTom
Copy link

Any idea when this issue will be fixed and version 3.0 will be released approximately?

- Add new attached property ControlsHelper.DisabledBorderBrush
- Add new TextBox style values
  - TextControlBorderThemeThickness
  - TextControlThemePadding
  - TextControlBorderThemeThicknessFocused
  - TextControlPlaceholderMargin
- Add new Win10 style: MahApps.Styles.TextBox.Win10
- Add new Fluent style: MahApps.Styles.TextBox.Fluent
- Add new brushes:
  - MahApps.Brushes.TextControl.Background
  - MahApps.Brushes.TextControl.BackgroundPointerOver
  - MahApps.Brushes.TextControl.BackgroundFocused
  - MahApps.Brushes.TextControl.BackgroundDisabled
  - MahApps.Brushes.TextControl.BorderBrush
  - MahApps.Brushes.TextControl.BorderBrushPointerOver
  - MahApps.Brushes.TextControl.BorderBrushFocused
  - MahApps.Brushes.TextControl.BorderBrushDisabled
  - MahApps.Brushes.TextControl.Foreground
  - MahApps.Brushes.TextControl.ForegroundPointerOver
  - MahApps.Brushes.TextControl.ForegroundFocused
  - MahApps.Brushes.TextControl.ForegroundDisabled
  - MahApps.Brushes.TextControl.PlaceholderForeground
  - MahApps.Brushes.TextControl.PlaceholderForegroundPointerOver
  - MahApps.Brushes.TextControl.PlaceholderForegroundFocused
  - MahApps.Brushes.TextControl.PlaceholderForegroundDisabled
  - MahApps.Brushes.TextControl.HeaderForeground
  - MahApps.Brushes.TextControl.HeaderForegroundDisabled
  - MahApps.Brushes.TextControl.SelectionHighlightColor
  - MahApps.Brushes.TextControl.ButtonBackground
  - MahApps.Brushes.TextControl.ButtonBackgroundPointerOver
  - MahApps.Brushes.TextControl.ButtonBackgroundPressed
  - MahApps.Brushes.TextControl.ButtonBorderBrush
  - MahApps.Brushes.TextControl.ButtonBorderBrushPointerOver
  - MahApps.Brushes.TextControl.ButtonBorderBrushPressed
  - MahApps.Brushes.TextControl.ButtonForeground
  - MahApps.Brushes.TextControl.ButtonForegroundPointerOver
  - MahApps.Brushes.TextControl.ButtonForegroundPressed

BREAKING CHANGE: change background for dark theme

Change the dark theme background from #FF252525 to #FF141414.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

TextBox IsEnabled windows 10 style
2 participants