Steven Kirk
45c6c9cf02
Fix tooltip sizing.
By fixing TopLevel sizing... Width and Height now work like all other
controls in that they're only set when the window has an explicitly set
size. Don't think SizeToContent is needed? Closes #24 .
11 years ago
Steven Kirk
1d8f4714ff
Added basic tooltip control.
Can be attached to any control using an attached property.
11 years ago
Steven Kirk
3965f7bdae
Updated and fixed all packages.
Now mono project should build.
11 years ago
Steven Kirk
363ad22438
Uninstalled Stylecop.MSBuild
It was causing problems and doesn't work properly with C#6 anyway.
11 years ago
Steven Kirk
aef34f810d
Stylecop fixes.
11 years ago
Steven Kirk
08aa54e16f
Added Transitions to TabControl.
Currently only one transition available: CrossFadeTransition, which is
demonstrated in the test app.
11 years ago
Steven Kirk
493768a5ad
Added missing properties to FormattedText.
Also use a switch for TextAlignment.ToDirect2D.
11 years ago
Steven Kirk
b369c30a2e
Implemented Tab focus.
Should hopefully be the start of a non-hacky tab focus solution.
11 years ago
Steven Kirk
47b23cec71
Prevent text measuring as NaN.
When text is right-aligned, WidthIncludingTrailingWhitespace seems to
return null. Worked around that but I think the layout code is wrong
now.
11 years ago
ncarrillo
a33ca9de04
Add D2D support for TextAlignment
11 years ago
ncarrillo
2cd1ff5fcd
Implemented RenderTargetBitmap support for Cairo
Make Render Tests run for Cairo
Implemented RenderTargetBitmap support for Cairo
Reverted virtual on save
Reverted changes to Program.cs
11 years ago
Steven Kirk
e0cbfc3a2d
Added support for dashed pens.
11 years ago
Steven Kirk
53d804572d
Added TextBlock.FontWeight.
Closes #31 .
11 years ago
Steven Kirk
265c6105ec
Make italic text work again.
Fixes #26 .
11 years ago
Steven Kirk
83043a85fa
Updated NuGet pkgs.
11 years ago
Steven Kirk
af3697b907
Allow Windows to be shown as dialogs.
11 years ago
Steven Kirk
152e9870a8
Refactored out common rendering code.
Moved platform-independent parts to RendererBase, make platform
renderers derive from this. Breaks GTK text rendering for some reason.
Need to fix.
11 years ago
Steven Kirk
a4bf79b7cc
Moved tests to Tests subdir.
11 years ago
Steven Kirk
eee919bded
Visual studio marked test projects with guid.
11 years ago
Steven Kirk
1a3a78847b
Converted tests to run with xUnit.
11 years ago
Steven Kirk
95d9e6f106
Stylecop fixes.
11 years ago
Steven Kirk
3ef1114187
Fix window activation.
11 years ago
Steven Kirk
374d1723a2
Handle dropdown selection.
11 years ago
Steven Kirk
e2a67e42c7
Prevent popup from deactivating parent window.
11 years ago
Steven Kirk
e70f4363ac
Make items show in dropdown.
11 years ago
Steven Kirk
1b1d60d0c0
Make popup appear in right place.
11 years ago
Steven Kirk
06bf45ace3
Initial implementation of dropdown.
The popup appears in the wrong place, has placeholder content and steals
the main window focus, but it appears!
11 years ago
Steven Kirk
0f823cd387
Started implementing DropDown.
Mostly not yet implemented.
11 years ago
Steven Kirk
ab6a45914f
Fixed BorderTests.
11 years ago
Steven Kirk
686b339e5d
Track mouse leave events.
*Actually* fixes #15 .
11 years ago
Steven Kirk
3a09abe30b
Fix mouse capture.
Fixes #15 .
11 years ago
Steven Kirk
a9a569557b
Moved some properties around.
- Moved Background out of Control. Fixes #14 .
- Added Font properties to TemplatedControl.
11 years ago
Steven Kirk
f158c3e399
Fixed scaling for Paths.
Will no doubt need revisiting as mentioned in the comments in
Shape.MeasureOverride.
11 years ago
Steven Kirk
5048ebbcf8
Fix the clip/rotation problem.
11 years ago
Steven Kirk
60ad99c8c1
Added a TextBox and Image to animated controls.
Looks like in the TexbBox clipping rects aren't getting applied
correctly with rotation.
11 years ago
Steven Kirk
94b1057685
Tidied up the render routine.
11 years ago
Steven Kirk
58426219c9
Oops forgot to commit actual code...
in last commit. D'oh!
11 years ago
Steven Kirk
733b733c92
Added test to demonstrate issue #2 .
11 years ago
Steven Kirk
5e8bb904c9
Use a single timer for all animation.
Still renders >60fps when there are two concurrent animations though.
Hmm.
11 years ago
Steven Kirk
fc49f1588b
Make animations more smooth.
By setting the PresentOptions.Immediately flag.
11 years ago
Steven Kirk
9afc768449
Added FPS counter to test app.
11 years ago
Steven Kirk
fc4d5ce32a
Added simple property transition animation.
Animation's a bit choppy though!
11 years ago
Steven Kirk
1c9cc11501
Run animation on UI thread.
11 years ago
Steven Kirk
6d45c57dbb
Added simple animation.
11 years ago
Steven Kirk
903730c693
Create an invisible message window for dispatcher.
11 years ago
Steven Kirk
cf959fd8eb
Added RadioButton control.
11 years ago
Steven Kirk
f5d89a8db5
Fix potential reference after dispose.
11 years ago
Steven Kirk
7fe1f7e814
Some work on Paths.
Make paths with Stretch != None correctly fill the Path control's
available size. Added a Path_Tick_Scaled test with a path from
MahApps.Metro to test this.
11 years ago
Steven Kirk
d468a541c2
Increased fail threshold for failing image tests.
The images were identical to my eye.
11 years ago
Steven Kirk
4370087af6
Fixed easily-fixable failing tests.
11 years ago