Samuel Turner-Lill
d220487073
Added CaretBlinkInterval to TextPresenter ( #13685 )
* Added CaretBlinkInterval to TextPresenter
* TextPresenter CaretBlinkInterval property exposed through TextBox
* Added PropertyChanged handler for CaretBlinkInterval
* CaretBlinkInterval datatype changed from int to TimeSpan
* Added CaretBlinkInterval comments
* TextBox.CaretBlinkInterval comment changed to inherit from TextPresenter.CaretBlinkInterval
* AddOwner given to CaretBlinkInterval in TextPresenter
---------
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
3 years ago
Robert Mutniański
e43311bd46
Fix #13249 Mouse cursor on TextBox scrollbars shows as caret ( #13542 )
* Add styles to scrollviewers
* pr comment fix
* remove styles from scrollviewer
* add styles to scrollviewers
* add Ibeam to floating watermark
---------
Co-authored-by: Robert Mutniański <robert.mutnianski@inetum.com>
3 years ago
Magnus Lindhe
050c660939
Fix watermark alignment of TextBox in the Simple theme #5802 ( #13295 )
3 years ago
Max Katz
6b53cbe63f
Add x:ClassModifier="internal" to all theme xaml files that should be hidden
3 years ago
Benedikt Stebner
e69661b353
Rework MaxLines to limit how many lines are visible at once and don't prevent additional input if MaxLines is reached
3 years ago
Steven Kirk
3f6b59d0ed
Hook up BringIntoViewOnFocusChange in templates.
3 years ago
Yoh Deadfall
826363365c
Removed unreferenced resources from TextBox
3 years ago
pr8x
1fc1c26cb7
Set IsReadOnly instead, use ConvertToInvariantString, Fix TextBox foreground on selected row
4 years ago
Tim
e1f9809de6
Add missing ClipToBounds="True"
4 years ago
Benedikt Stebner
17b2834d21
Implement letter spacing
4 years ago
Max Katz
1731f88822
Rename Default to Simple
4 years ago
Max Katz
707b7af6b3
Port default theme to use ControlThemes + some formatting
4 years ago
Brett Story
5618cc03e4
Utilizing TextLayout's LineHeight in TextBox and TextPresenter
4 years ago
Tim U
2941c3f635
Rename BubbleUpScrollOnEndReached to IsScrollChainingEnabled
5 years ago
Tim
26ca4c15ba
Implement `BubbleUpScrollOnEndReachedProperty`
- Add property as AttachedProperty, so it can be opt-in or opt-out
- Only bubble up the scroll event if the end is reached
- Make use of this Property in:
o ListBox
o TextBox
o TreeView
5 years ago
Takoooooo
60a6a52735
wip
5 years ago
Max Katz
64922a34a9
Add CornerRadius to TemplatedControl and use it where possible
5 years ago
Max Katz
23acdb111b
Implement ContextRequested event
5 years ago
Dariusz Komosinski
a2dc40a14c
Allow for using ScrollViewer.AllowAutoHide as an attached property.
5 years ago
Max Katz
67812f4e90
Changes after review
5 years ago
Dan Walmsley
48fd593147
remove obsolete comments
5 years ago
amwx
b6f5571495
TextBox uses ContextFlyout
6 years ago
Jumar Macato
b16d4bfa3b
fix innerL/R contents scrolling with text
6 years ago
Dan Walmsley
d88de1e710
add clear box to default theme.
6 years ago
Dan Walmsley
8caa9a0966
use correct case for class names.
6 years ago
Dan Walmsley
cce14fffd2
add styles for password reveal in default theme.
6 years ago
Dan Walmsley
f9f32736f7
add names for default context menu.
6 years ago
Dan Walmsley
5a780952e7
use static resource for the context menus in textbox templates.
6 years ago
Dan Walmsley
23f13957cd
add context menu back.
6 years ago
Dan Walmsley
b11c1dd0d5
add a contextmenu to resources.
6 years ago
Dan Walmsley
bb2d629a11
fix test errors.
6 years ago
Dan Walmsley
911a375897
remove default textboxcontextmenu resource.
6 years ago
Jumar Macato
608dd35fba
added context menu to default theme
6 years ago
Dan Walmsley
a82cd00122
move standard textbox context menu to the templates.
6 years ago
Jumar Macato
0706c82176
Fix Missing CaretBrush on DefaultTheme's TextBox
6 years ago
danwalmsley
bc42091ce9
Revert "Expose Cut Copy and Paste methods for binding for context menus"
6 years ago
Dan Walmsley
5ea8c57f76
move standard textbox context menu to the templates.
6 years ago
Jumar Macato
23713366fa
add support for default theme
6 years ago
José Pedro
856118f21c
Use TextBox text alignment and wrapping in watermark.
6 years ago
Deadpikle
6c29598071
Fix clicking TextBox border moving to end
Twofold fix:
1) Cursor doesn't show IBeam when not in DockPanel
2) If you do click the border, it just focuses the text box -- it does not move the selection
7 years ago
Symbai
6fe5892ad9
Include vertical alignment of floating watermark
7 years ago
Symbai
f4fe0b126c
init
7 years ago
Symbai
4ac1fee023
Update TextBox.xaml
7 years ago
Abdulbaqi Alshareef
185511d7e0
Set default SelectionForegroundBrush in default style resource instead of code
7 years ago
Abdulbaqi Alshareef
c67e405738
Add SelectionBrush and SelectionForegroundBrush Feature
7 years ago
Abdulbaqi Alshareef
434af7d56d
Add CaretBrush property to Textbox
7 years ago
Steven Kirk
b91df127ea
Remove :valid and :invalid pseudoclasses.
`:valid` and `:invalid` pseudoclasses are being added to all `ContentControls` simply in order to show/hide the `ContentPresenter` in `CheckBox`. Instead of this, add some `ObjectConverters` and use them to set the visibility of the `ContentPresenter.`
Also renamed the converters in `StringConverters` to add an `Is` prefix as the `ObjectConverters` didn't look right as just `Null` and `NotNull`.
8 years ago
Dan Walmsley
0f18328f14
fix formatting.
8 years ago
Dan Walmsley
7f9d223169
Set IBeam cursor in TextBox template as a style.
8 years ago
Dan Walmsley
4c9d41d980
fix color resource names
8 years ago