Max Katz
1731f88822
Rename Default to Simple
4 years ago
Tim
9e6deb2386
fix for ProgressBar not listening to size changes of parent
If the track for the progressbar changes its size the indicator needs to update as well.
4 years ago
Tim
633c479175
Use indicators parent if available to determine the space
We used controls bounds before, which may lead to wrong indicator size if a border is set or the template has elements next to the indicator.
4 years ago
Eric M
435419588a
Allow customisation of ProgressBar text format.
4 years ago
Steven Kirk
f8706278a8
Make OnPropertyChanged non-generic.
4 years ago
robloo
d4540ed0e5
Add template part attributes to common controls
4 years ago
Dariusz Komosiński
61264825b8
Change ProgressBar Value binding mode to OneWay by default.
4 years ago
Steven Kirk
77d059be22
Add nullable annotations to Avalonia.Controls.
4 years ago
Giuseppe Lippolis
7342b26589
fixes: Suppress CS0618 Warnings
4 years ago
ReeJK
b3785cac2c
Update ProgressBar indicator when Minimum or Maximum was changed
5 years ago
Steven Kirk
58c333b6f1
Added PseudoClassesAttribute.
And apply it to our controls. Can be used by designers to add auto-completion support for pseudoclasses.
5 years ago
Jumar Macato
d2f50ea1e2
fix offset
6 years ago
Jumar Macato
6587c4b7b5
add obsoleted props
6 years ago
Jumar Macato
a0be18e3f6
Fix indeterminate animation on old theme
6 years ago
Dan Walmsley
5fbf15be7e
use template properties class.
6 years ago
Dan Walmsley
51b4c772db
remove cliprect from progress bar.
6 years ago
Dan Walmsley
792405443c
put fields in the correct place.
6 years ago
Jumar Macato
ef2a96cae7
use winui3 style
6 years ago
Jumar Macato
1faa61c670
almost working... :(
6 years ago
Jumar Macato
d3dc52fa75
remove ellipse props
6 years ago
Jumar Macato
a20c1fa5c7
add container2 props
6 years ago
Jumar Macato
07ec671265
Add indeterminate animations
6 years ago
Steven Kirk
2fcde9e34d
Use OnApplyTemplate instead of OnTemplateApplied.
- More similar to WPF API
- Less bug-prone (see #3744 )
`OnTemplateApplied` still exists, but is deprecated and does nothing.
6 years ago
Steven Kirk
4a752c3f48
Get non-animated change information.
- Pass information for all property changes to `OnPropertyChangedCore`; whether they result in an effective value change or not
- Added `GetBaseValue` to get a value with a specified priority
- Change the signature of `OnPropertyChanged` again to take an `AvaloniaPropertyChangedEventArgs<T>`
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Symbai
fa9822b1ef
Add Progressbar ShowProgressText property ( #3531 )
6 years ago
Steven Kirk
b89305d708
Set pseudoclasses manually.
It makes creating new controls a _lot_ faster.
6 years ago
Steven Kirk
400e64dc15
Fix formatting.
6 years ago
Dariusz Komosinski
a2c6bc1b7c
Remove usage of AddClassHandler that returns new lambda per invocation.
6 years ago
Steven Kirk
2210b441a2
Moved attached layout code to Avalonia.Layout.
Also involved moving `Orientation` enum.
7 years ago
Jumar Macato
e4fff20551
Address PR Reviews
8 years ago
Jumar Macato
64a4a6d82a
Simplify Fix; Invalidate when IsIndeterminate property changes.
8 years ago
Steven Kirk
576cc91573
Make Pseudoclass method typed.
8 years ago
Miha Markič
1524cb1aba
Spellchecks comments and members, removes unused using statements and sorts them
8 years ago
Jeremy Koritzinsky
ef6d31bb24
Use direct properties instead of styled properties for the private properties on ProgressBar that support the indeterminate animation.
8 years ago
Jeremy Koritzinsky
dcafd6e764
Use transforms instead of Canvas to support the ProgressBar indeterminate animation.
8 years ago
Jeremy Koritzinsky
b1cb87b770
Implement ProgressBar animation in XAML. Contributes to #1670 .
8 years ago
Jumar Macato
b0456d46a1
Fix all remaining nits - this commit will be used as a breakpoint for the upcoming syntax reimplementation.
8 years ago
Jumar Macato
fe66f3837e
*Added numerical transition classes.
*Disabled old animations code in CrossFade, PageSlide, CarouselPresenter and ProgressBar.
8 years ago
Jumar Macato
7becd1ea92
*Added initial implementation of new Transitions
*Added default easing classes
*Added easing type converter
8 years ago
ahopper
1784b51781
ProgressBar MinWidth & MinHeight set in template
8 years ago
ahopper
b31f7385dc
Allow progressbar width and height less than default
8 years ago
José Pedro
22baf62f09
Fixed ProgressBar default alignment.
8 years ago
Nikita Tsukanov
b49a7abbd1
Fixed if clause in ProgressBar.UpdateIsIndeterminate
Found by PVS studio
8 years ago
José Pedro
af113224c6
Requested change.
8 years ago
José Pedro
5cebc7792f
Requested changes.
8 years ago
José Pedro
7cb4485dfb
Added Orientation and IsIndeterminate properties to ProgressBar.
Moved the Orientation enum to a separate file.
8 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
a6b74db847
Merge branch 'logical-tree' into leaks
10 years ago
Steven Kirk
16c2242757
Implemented NameScopes
Some tests still failing as controls are only registered with name scope
when attached to a rooted visual tree. Need to work around this by
explicitly registering controls when applying template.
10 years ago