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
Steven Kirk
b8f127fce7
Reimplemented TemplateBinding.
Rather than just use a standard `Binding`, make `TemplateBinding` a lightweight binding in the case where the binding is simply to a property on the templated parent.
8 years ago
Dan Walmsley
8befbacba0
Use textpresenter to replace with password char.
8 years ago
Dan Walmsley
a9747e0bd6
whitespace.
8 years ago
Dan Walmsley
aca0fb3eba
Implement password char on TextBox rather than separate control.
8 years ago
sdoroff
5dce65f7b6
Created a shared DataValidationErrors framework
Moved Validation Error tracking to attached an attached property
Created an shared error indicator that can be simply added to control
templates and re-styled across all controls
This should reduce the need for code and markup duplication while
allowing for a consistent visual interface
9 years ago
Steven Kirk
8a80a724d7
Implement disabling of ListBox scrollbars.
Fixes #1344 .
9 years ago
Jeremy Koritzinsky
745517f68e
Updated usage of Static and Type to be x:Static and x:Type.
9 years ago
Steven Kirk
33b57118cf
Bind TextPresenter.Text before CaretIndex.
Otherwise if `TextBox.CaretIndex` is set before the `TextBox`'s template is applied then it will be coerced to null on the `TextPresenter` when created as `Text` will still be null at this point.
9 years ago
Steven Kirk
f6ed69be28
StyleResource -> DynamicResource
9 years ago
Steven Kirk
7f2cbd0b71
Use a path for the TextBox error icon.
10 years ago
Steven Kirk
7a2adc63e9
Fix TextBox/error icon scrolling.
10 years ago
Steven Kirk
9094de563e
Fix the TextBox error ToolTip.
Create a new popup window for each ToolTip as sharing one was causing
problems when ToolTip was included in a control template.
10 years ago
Steven Kirk
41ba3b7782
Started adding TextBox error adornments.
10 years ago
Steven Kirk
19b034651e
Use `:error` pseudoclass in TextBox.
10 years ago
Steven Kirk
5c33fbc6ee
Reimplemented property validation.
As far as it was in `property-validation-grokys` branch. Things were
messed up on master so had to merge this manually so may be problems.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
df204ce01d
Fix TextBox template binding.
11 years ago
Steven Kirk
a6067c994e
CanScrollHorizontally shouldn't be an attached property.
11 years ago
Steven Kirk
f2ecce6cc2
Remove TextBox hacks.
Now that we can have attached properties in bindings.
11 years ago
Steven Kirk
42ccfebf17
Fixed TextBox floating watermark.
It should not scroll with TextBox contents.
11 years ago