Steven Kirk
a91d21d0a4
Make some TextBox/Block properties direct.
11 years ago
Steven Kirk
87fa632707
Removed LevelPrecedenceMode.
You should use direct properties if you want Latest mode.
11 years ago
Steven Kirk
9c12fe4462
Merge branch 'style-initialized'
11 years ago
Steven Kirk
1c3b1672b8
Added failing test.
StyleResources cannot currently be found in other style resources
because the style resource binding is evaluated before the style is
attached to the parent. Described in #492 .
11 years ago
Steven Kirk
a40f0be1d9
Make SolidColorBrush properly immutable.
Previous its color was immutable but because it inherited from Brush, its Opacity was mutable. This wasn't good, as it meant that e.g. Brushes.Red could be changed. Make it properly immutable by using the IBrush interface everywhere and not inheriting from Brush.
11 years ago
Steven Kirk
63790f750d
Merge remote-tracking branch 'refs/remotes/origin/master' into style-initialized
11 years ago
Steven Kirk
152b4000a8
Added Image to ControlCatalog.
11 years ago
Steven Kirk
85f1c3a5c7
Added Expander to ControlCatalog.
And fixed bug with CrossFade.
11 years ago
Steven Kirk
adf30e529d
Added RadioButton to ControlCatalog.
And added disabled style.
11 years ago
Steven Kirk
b43b5947b9
Make ControlCatalog SideBar scrollable.
11 years ago
Steven Kirk
594e8dc702
Display ScrollViewer.Background.
11 years ago
Steven Kirk
b63a5b3e7c
WIP
11 years ago
Steven Kirk
3bb9fe0b58
Added BindingError class.
11 years ago
Steven Kirk
70a6b6dcb8
Prevent controls appearing twice in logical tree.
11 years ago
Steven Kirk
9e6b4dfcec
Fix missing reference.
11 years ago
Steven Kirk
ac3db6573b
Added Menu page to ControlCatalog.
11 years ago
Steven Kirk
fe1132bc4d
Make MenuItem.Icon a logical child of MenuItem.
So that it can be styled.
11 years ago
Steven Kirk
c5dacd450b
GetObservable documentation.
11 years ago
Steven Kirk
616738ce1f
Ensure Initialized gets called on TopLevels.
11 years ago
Steven Kirk
ddc52222f6
Fixed DropDownItem alignment.
This makes the DropDown with control items in ControlCatalog display
correctly.
11 years ago
Steven Kirk
1d1bdd001a
Merge branch 'master' into initialized-loaded-events
11 years ago
Steven Kirk
2427a7fb5f
Merge branch 'jkoritzinsky-MergedApplicationControls'
11 years ago
Steven Kirk
26b080bda8
Merge branch 'master' of https://github.com/Perspex/Perspex
11 years ago
Steven Kirk
364fe86e78
Allow designer to work again.
11 years ago
Steven Kirk
467541c9a3
Merge branch 'MergedApplicationControls' of https://github.com/jkoritzinsky/Perspex into jkoritzinsky-MergedApplicationControls
11 years ago
Steven Kirk
46d4dfc7b3
Merge pull request #488 from wieslawsoltes/DefaultValueForGetWindowDpi
Changed default value returned by GetWindowDpi
11 years ago
Wiesław Šoltés
8966193b19
Changed default value returned by GetWindowDpi
This fixes issue on black window ShCoreAvailable is not available
11 years ago
Steven Kirk
0fce7e8150
Started fixing VisualBrush.
Make sure control is initialized before it is used in a visual brush.
Previously the colored rectangle in the DropDown in ControlCatalog
didn't have the correct color until the DropDown was opened. This fixes
the color, although initial measurement is still off.
11 years ago
Steven Kirk
b727ad684d
Make DelayedBinding use Initialized event.
11 years ago
Steven Kirk
45b5ec5d8f
Added Control.Initialized.
11 years ago
Steven Kirk
50322aabf6
Use the same pattern for visual tree (de)attachment
As for logical tree.
11 years ago
Steven Kirk
ad02cc7d9d
Ensure logical tree (de)attachment doesn't break...
...if a derived class fails to call base.OnAttachedToLogicalTree etc.
11 years ago
Steven Kirk
f594785246
Don't swallow all KeyDown events in TextBox.
Fixes #423
11 years ago
Steven Kirk
46c93b70bf
Fix layout error.
11 years ago
Steven Kirk
75e13dc02b
Fix arrange size with margins.
Fixes #432 .
11 years ago
Steven Kirk
b87275e34d
Actually call InputManager.PreProcess.
11 years ago
Steven Kirk
015054a8fd
Added a pre-process hook to InputManager,
And some documentation.
11 years ago
Steven Kirk
9c1efd2f99
Added some documentation.
11 years ago
Steven Kirk
14f01a53da
Set D2D RenderTarget DPI.
11 years ago
Steven Kirk
25da779c30
Fix RadioButton at 125% scaling.
11 years ago
Steven Kirk
a29a56a9ff
Fix WM_MOUSEWHEEL DPI scaling.
It appears that the mouse position given with this message is in screen
coordinates, but with DPI scaling applied. Very strange.
11 years ago
Steven Kirk
847796e9c1
Account for DPI scaling between screen and client.
11 years ago
Steven Kirk
e8a8c12f87
Fix MouseDevice.GetPosition.
Algorithm was incorrect when in a window with DPI scaling.
11 years ago
Steven Kirk
553fbb95fc
Removed RenderTargetDecorator.
Handle scaling in D2D's RenderTarget itself.
11 years ago
Steven Kirk
cd1ae04471
Removed WindowDecorator.
Handle DPI scaling in windowing subsystem, i.e. WindowImpl.
11 years ago
Steven Kirk
f68fdf983d
Revert "Fix ClientToScreen on high-DPI."
This reverts commit 87b885f8e6 .
11 years ago
Steven Kirk
87b885f8e6
Fix ClientToScreen on high-DPI.
Closes #445 (again).
11 years ago
Steven Kirk
8f4fef29a0
Fix #445 .
11 years ago
Steven Kirk
8811530d2a
Merge pull request #486 from wieslawsoltes/LoggingFixes
Logging fixes
11 years ago
Wiesław Šoltés
87061e946d
Fixed project dependencies
11 years ago