Steven Kirk
18a976dc55
Added IEnumerable extension methods.
As we're working on a non-generic IEnumerable in ItemsControl related
controls.
11 years ago
Steven Kirk
41e434e13b
Added SelectedItemsControl.SelectedIndex
11 years ago
Steven Kirk
18ae814775
Make SelectingItemsControl abstract.
As it displays nothing by default.
11 years ago
Steven Kirk
ba0fe0b4e5
Removed sliders tab.
ScrollBar is currently adequately demonstrated in Images tab.
11 years ago
Steven Kirk
493768a5ad
Added missing properties to FormattedText.
Also use a switch for TextAlignment.ToDirect2D.
11 years ago
Steven Kirk
2931263d5d
Make right aligned text work.
Need to supply a constraint in order to know where to align it.
11 years ago
Steven Kirk
06e0dde700
Track adorned element position.
Closes #38 . Still need to track transforms and clip rectangles, but good
enough for now.
11 years ago
Steven Kirk
30ce103d8d
Scroll list box with selection.
Fixes #33 , however the focus adorner is displayed in the wrong position.
#38 will fix this.
11 years ago
Steven Kirk
5da890fbfb
Don't handle keypresses in TabControl.
11 years ago
Steven Kirk
87a87a4495
Only handle arrow keys!
11 years ago
Steven Kirk
ddb125659e
Fix focus adorners a bit.
11 years ago
Steven Kirk
8f46c1360d
Make focus follow listbox selection.
11 years ago
Steven Kirk
c29cac0b9f
Improve directional naviation a bit.
In SelectingItemsControl. Still not completely there as we should do a
visual search in the absence of INavigablePanel (e.g. for Canvas, Grid).
Fixes half of #44 .
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
4aeba20838
Fixed xunit references in D2D tests.
Were screwed up somehow.
11 years ago
Steven Kirk
9527f760b2
Updated xunit to 2.0.0.
11 years ago
Steven Kirk
e12d5a7a31
Added TextAlignment to some test app text.
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
Steven Kirk
5b706ae123
Validate size returned by MeasureCore.
11 years ago
Steven Kirk
e6fe2cbff8
Merge pull request #43 from ncarrillo/feat-cairo-textalignment
Feat cairo textalignment
11 years ago
Steven Kirk
6aa3aea3fa
Merge pull request #42 from ncarrillo/fix-cairo-transform
Fixes clipping/transform issue with cairo
11 years ago
Steven Kirk
e340d70b03
Merge pull request #40 from ncarrillo/feat-cairo-rtb
Implemented RenderTargetBitmap support for Cairo
11 years ago
Steven Kirk
166dd1e020
Fix reference to render tests.
11 years ago
ncarrillo
a33ca9de04
Add D2D support for TextAlignment
11 years ago
ncarrillo
5c8ebb6c35
Fixed clipping issue
11 years ago
ncarrillo
74c82f3b63
Work on TextAlignment
11 years ago
ncarrillo
b01ad4b17c
Merge branch 'fix-cairo-transform' into feat-cairo-textalignment
11 years ago
ncarrillo
4d4946e0c3
Fixed clipping/transform issue when saving and restoring contexts out of order
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
177b624e79
Merge pull request #41 from ncarrillo/feat-cairo-fontweight
Implemented FontWeight for Cairo/Pango
11 years ago
Steven Kirk
c766a13105
Merge branch 'ncarrillo-feat-cairo-rendertests'
11 years ago
ncarrillo
74b1640460
Implemented FontWeight for Cairo/Pango
11 years ago
Nelson Carrillo
f4e3aefbd4
Make Render Tests run for Cairo
Adds RenderTargetBitmap to Cairo
Oops.
11 years ago
Steven Kirk
535f8c38f1
Moved pointer over state to MouseDevice.
11 years ago
Steven Kirk
c1b1339286
Make focus adorner styleable.
11 years ago
Steven Kirk
eb8bdc4c55
Don't focus disabled controls on shift-tab.
11 years ago
Steven Kirk
b8db5c2b75
Lose focus when control removed from visual tree.
11 years ago
Steven Kirk
3efc8e8920
Improved tab focus handling a bit.
11 years ago
Steven Kirk
6fa126f827
Show keyboard focus adorner.
11 years ago
Steven Kirk
bad9aae1a5
Stylecop fixes.
11 years ago
Steven Kirk
e0cbfc3a2d
Added support for dashed pens.
11 years ago
Steven Kirk
783211c964
Added Visual.ZIndex.
And set ZIndex of adorner layer to top-most.
11 years ago
Steven Kirk
fcb746a1c4
Initial implementation of adorners.
Adorn elements when moused over in DevTools. Still a fair few things
missing including:
- Need to track position of adorned elements and move the adorner if
they move.
- Adorner is shown beneath AdornerDecorator contents. Need to implement
Z-index to allow it to be shown above.
11 years ago
Steven Kirk
557fb4d215
Added IsHitTestVisible property.
11 years ago
Steven Kirk
c27ddbb17c
Removed ActualSize property - use Bounds instead.
11 years ago
Steven Kirk
43e645de6a
Fix Rect.Equals.
11 years ago
Steven Kirk
4299e7e046
Make TextBox handle text input.
Instead of TextPresenter - this fixes the problem of focus that we were
working around in TextBox.OnGotFocus before.
11 years ago
Steven Kirk
78a80b2b75
Moved Tab key handling to InputElement.
11 years ago
Steven Kirk
dd1142e03e
Updated link to XAML work in progress.
Closes #37 .
11 years ago
Steven Kirk
b50157fcbf
Fix mono test app compilation.
11 years ago