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
ahopper
b31f7385dc
Allow progressbar width and height less than default
9 years ago
José Pedro
22baf62f09
Fixed ProgressBar default alignment.
9 years ago
Nikita Tsukanov
b49a7abbd1
Fixed if clause in ProgressBar.UpdateIsIndeterminate
Found by PVS studio
9 years ago
José Pedro
af113224c6
Requested change.
9 years ago
José Pedro
5cebc7792f
Requested changes.
9 years ago
José Pedro
7cb4485dfb
Added Orientation and IsIndeterminate properties to ProgressBar.
Moved the Orientation enum to a separate file.
9 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
a6b74db847
Merge branch 'logical-tree' into leaks
11 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.
11 years ago
Steven Kirk
78ff0ff940
Fix ProgressBar display.
Closes #217 .
11 years ago
Nikita Tsukanov
01e2c90bc5
Removed this.
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Steven Kirk
6167bacf54
Moved to more standard filesystem layout.
Based on https://gist.github.com/davidfowl/ed7564297c61fe9ab814 and https://github.com/fsprojects/ProjectScaffold
11 years ago
Steven Kirk
1b2f1c41a5
StyleCop'ed ProgressBar.
11 years ago
Nelson Carrillo
3ed4cc0192
Moved ProgressBar value calculation to ValueChanged
Moved indicator lookup to OnTemplateApplied
11 years ago
Nelson Carrillo
08ca269a09
Correctly subtracted the minimum from the value and the divisor.
11 years ago
Nelson Carrillo
e8d5dae0b3
Fixed a bug in ProgressBar
11 years ago
Steven Kirk
570d37509a
Stylecop-ed ProgressBar stuff.
11 years ago