Jumar Macato
df22fb29bc
move IndeterminateStarting/EndingOffset to TemplateSettings.
3 years ago
robloo
b96f9abd06
Update ProgressBar TemplateSettings and comments
3 years ago
Tom Edwards
74f75b0525
Converted RangeBase to StyledProperty
Normalised ScrollViewer internal properties and bindings
4 years ago
Daniil Pavliuchyk
177c1cee51
Add ProgressBarAutomationPeer
4 years ago
Benedikt Stebner
6210018f3b
Propertly handle an InlineUIContainer's logical children
4 years ago
Max Katz
59d7874b1d
Replace System.Reactive with internal extensions
4 years ago
zhouzj
581481f7ad
Indicator size calculation should care about the ProgressBar's Padding property setting
4 years ago
zhouzj
75d798d00a
Fix the size issue of indicator border in ProgressBar
4 years ago
Takoooooo
00c08235cc
Remove obsolete members from Avalonia.Controls assembly.
4 years ago
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.
5 years ago
robloo
d4540ed0e5
Add template part attributes to common controls
5 years ago
Dariusz Komosiński
61264825b8
Change ProgressBar Value binding mode to OneWay by default.
5 years ago
Steven Kirk
77d059be22
Add nullable annotations to Avalonia.Controls.
5 years ago
Giuseppe Lippolis
7342b26589
fixes: Suppress CS0618 Warnings
5 years ago
ReeJK
b3785cac2c
Update ProgressBar indicator when Minimum or Maximum was changed
6 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.
6 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.
7 years ago
Symbai
fa9822b1ef
Add Progressbar ShowProgressText property ( #3531 )
7 years ago
Steven Kirk
b89305d708
Set pseudoclasses manually.
It makes creating new controls a _lot_ faster.
7 years ago
Steven Kirk
400e64dc15
Fix formatting.
7 years ago
Dariusz Komosinski
a2c6bc1b7c
Remove usage of AddClassHandler that returns new lambda per invocation.
7 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.
9 years ago
Jumar Macato
7becd1ea92
*Added initial implementation of new Transitions
*Added default easing classes
*Added easing type converter
9 years ago
ahopper
1784b51781
ProgressBar MinWidth & MinHeight set in template
9 years ago