Jumar Macato
a8d4c8d799
Add a new Disposable Extention.
8 years ago
Steven Kirk
b449003958
Allow MenuItems to be separators.
If `MenuItem.Header == "-"` then apply the `:separator` pseudoclass to the `MenuItem` and display it as a separator.
8 years ago
ahopper
df014f3b1e
Fix drawing presenter clipping ( #1882 )
* fix clipping offset
* simplified clipping calculation
8 years ago
Jumar Macato
3cbcd0ac0f
Match CSS's behavior on selectors & animations.
8 years ago
Steven Kirk
ac0c9e69cd
Added IAffectsRender interface...
...and use it as a general-purpose means of attaching to property values that can affect render.
8 years ago
Jumar Macato
64a4a6d82a
Simplify Fix; Invalidate when IsIndeterminate property changes.
8 years ago
Benedikt Schroeder
e625f03c16
Use ID2D1Device instead of ID2D1Device1 to keep wi
8 years ago
Benedikt Schroeder
50f15b1154
Namespace fix
8 years ago
Benedikt Schroeder
1bf4954334
Downgrade SharpDX to 4.0.1
8 years ago
Jumar Macato
dc36911e44
Flip the sign on the outgoing carousel animation.
8 years ago
Jumar Macato
ec695433de
Cancel an animation instance when the selector turns false.
8 years ago
Jeremy Koritzinsky
2be60e593d
Fix PageSlide direction mess-up.
8 years ago
Jumar Macato
5e6a6f7e03
Add explicit double type marker on values.
Flip the sign on distance to match the correct behavior.
8 years ago
Steven Kirk
460d63736d
Use immutable brush as default Foreground value.
Prevents memory leak.
8 years ago
Steven Kirk
a5a5b36ddc
Invalidate controls when brush changed.
8 years ago
Jeremy Koritzinsky
f99e79faa8
Fix carousel animation crash
8 years ago
Steven Kirk
d531b36b96
Make brushes raise a Changed event.
When their visual representation changes.
8 years ago
Steven Kirk
f39e38545d
Use inner methods for invalidation.
8 years ago
Steven Kirk
d15e86c2a7
Pass correct node bounds to PushOpacityMask. ( #1870 )
* Pass correct node bounds.
Use node bounds not clip bounds for opacity mask rect.
Fixes #1118 .
* Use layout bounds for opacity mask.
And added a new render test to make sure that the render transform is applied to it.
* Fix bad XAML formatting.
8 years ago
William David Cossey
2b2255b1c8
Background is only applicable to the Border#border.
Added Foreground, VerticalContentAlignment and HorizontalContentAlignment for ContentPresenter#PART_ContentPresenter.
8 years ago
Steven Kirk
4deef1d57b
Enable TreeView horizontal scrollbar. ( #1872 )
Fixes #1871 .
8 years ago
Steven Kirk
c7b42d1326
Add the old overloads back in.
And mark them as `[Obsolete]`.
8 years ago
Benedikt Schroeder
2a64f133d5
SharpDX update to current version
8 years ago
Jumar Macato
a93c69a56e
Make naming consistent.
8 years ago
Jumar Macato
15301c6337
Make naming consistent.
8 years ago
Jumar Macato
a91cb08248
Fix naming on Animations & Transitions to better reflect their purpose.
Make RenderDemo & ControlCatalog's TabItems opacity transition faster.
8 years ago
Jumar Macato
ed45ec47b2
Fix the transitions bug by pushing zero immediately after Subscription.
Thanks to sir @grokys for this fix.
Fix XML Doc on Animatable.cs.
8 years ago
Steven Kirk
576cc91573
Make Pseudoclass method typed.
8 years ago
Steven Kirk
fad2e317ba
Make AffectsMeasure/Arrange/Render typed.
8 years ago
Steven Kirk
a6a80c205c
Make attached panel properties invalidate parent layout.
Fixes #1865 .
8 years ago
Steven Kirk
544d2e26c7
Fix NRE when VirtualizingStackPanel used with ItemsControl.
There is no `ScrollViewer` in the template for `ItemsControl` which means that if a `VirtualizingStackPanel` is used for `ItemsControl.ItemsPanel` then `InvalidateScroll` won't be set. Just do nothing in this case.
Fixes #1829 .
8 years ago
Jumar Macato
06a4fe7312
Minor fix on TransitionsEngine
8 years ago
Benedikt Schroeder
024e0da1da
Direct3DInterop fixes
8 years ago
Jumar Macato
45ca6af21c
Remove Epsilon equality checking since the animations
dont require such precision.
8 years ago
Benedikt Schroeder
98ee428d6f
Merge fix
8 years ago
Jumar Macato
8a800cadfa
Fix nits & polish up some code
8 years ago
Jumar Macato
5f4a38842c
Finally fixed the flickering heart bug!
Simplify the Keyframe selection and removed all LINQ code.
Use the Cue property on AnimatorKeyFrame as the time index and integrate the IsNeutral value as an internal property.
8 years ago
Jeremy Koritzinsky
e7dc152392
Fix case where timing lands on exactly a new keyframe.
8 years ago
William David Cossey
71d74fe7cd
TreeViewItem.cs - Renamed Depth to Level.
TreeViewItem.cs - Moved CalculateDistanceFromLogicalParent from LogicalExtensions.
TreeViewItem.xaml - Cleaned up selectors.
PropertyEqualsSelector.cs - Default null to string.Empty.
ContentControl.cs - Added valid & invalid pseudoclasses for ContentProperty.
BaseLight.xaml - Removed unused resources.
CheckBox.xaml - Hide ContentPresenter#PART_ContentPresenter when Content is null.
8 years ago
Benedikt Schroeder
0646106f8f
Introduce ResizeBuffers to prevent SwapChain recreation
8 years ago
Benedikt Schroeder
e76b694ebd
InterpolationMode.HighQuality support
8 years ago
Benedikt Schroeder
66bebd0c1b
Initial
8 years ago
danwalmsley
39931f5fde
use same fix as upcoming pr to prevent conflict.
8 years ago
Dan Walmsley
9d89bfdfab
fix slider not updating value.
8 years ago
Miha Markič
0a38876590
Spellchecks all projects except for Base, Controls, Samples and Testing
8 years ago
Miha Markič
eb93c9f4a7
Spellchecks comments and code in Avalonia.Base
8 years ago
Siegfried Pammer
158d2d31b3
Add RoutedEventRegistry. Fixes #1846 .
8 years ago
Miha Markič
47b78a413b
Reverts 'top level' comment back to 'toplevel'
8 years ago
Miha Markič
993f0a080a
Adds missing newline
8 years ago
Miha Markič
1524cb1aba
Spellchecks comments and members, removes unused using statements and sorts them
8 years ago