Steven Kirk
268b34e4fc
Make TextBlock properties attached properties.
This is how they should've been all along, except PerspexObject.Bind
didn't check that a property was registered before binding to it, so it
went unnoticed.
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
ncarrillo
74c82f3b63
Work on TextAlignment
11 years ago
Steven Kirk
c27ddbb17c
Removed ActualSize property - use Bounds instead.
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
53d804572d
Added TextBlock.FontWeight.
Closes #31 .
11 years ago
Steven Kirk
95d9e6f106
Stylecop fixes.
11 years ago
Steven Kirk
23c4a9a87f
Moved some more properties out of Control.
Border and Foreground properties didn't make sense there.
11 years ago
Steven Kirk
b20b94160d
Fix Font properties owner.
And make default values come from theme.
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
d4733c5332
Moved a bit of stuff around.
11 years ago
Steven Kirk
d2d94da177
Fix TextBlock constraint not getting initialized.
11 years ago
Steven Kirk
aef071ec8d
Draw selected TextBox text white.
11 years ago
Steven Kirk
71e46c3084
Added TextWrapping setting.
TextBox doesn't handle quite a few things yet, scrolling and lines for
example.
11 years ago
Steven Kirk
2be668db1a
More refactoring of FormattedText.
11 years ago
Steven Kirk
20a944013e
Started refactoring of FormattedText.
11 years ago
Steven Kirk
a833a5e883
Stylecop fixes.
Also added solution-wide stylecop settings.
11 years ago
Steven Kirk
007dbd2656
Display template controls in italic.
12 years ago
Steven Kirk
bfadaac5d9
Non-building checkpoint in MAJOR refactor.
12 years ago
Steven Kirk
a467607e57
Correctly measure TextBlocks.
12 years ago
Steven Kirk
d9b0876522
Fix properties that affect measure/render etc
12 years ago
Steven Kirk
0b81fc2ca0
Change Visibility to IsVisible.
12 years ago
Steven Kirk
52b7d08541
Started on TextBox.
12 years ago
Steven Kirk
990d5c8c8c
Moved FontSize to Control.
12 years ago
Steven Kirk
d47163353b
Moved alignment into child Control.
12 years ago
Steven Kirk
32c8914609
Implement border child alignment.
12 years ago
Steven Kirk
971db93002
Moved platform impls into IPlatformFactory.
12 years ago
Steven Kirk
44756e27e1
Moved platform interfaces into Platform namespace.
12 years ago
Steven Kirk
1de05e4262
Check properties are registered when setting.
12 years ago
Steven Kirk
c1a0931445
Added (VERY!) basic checkbox
12 years ago
Steven Kirk
d90133677b
Added StackPanel.
12 years ago
Steven Kirk
77b1f1e15f
Replace ServiceLocator with Splat.Locator.
12 years ago
grokys
27d5d35316
Added Application class.
And some more work on styling.
12 years ago
grokys
f39d2a3f3a
Tidied up a bit.
12 years ago
grokys
8924977a49
Started implementing Button.
12 years ago
grokys
3cdda17ef6
Added FontSize/VisualParent.
12 years ago
grokys
a5c1c34ae4
Use correct owner!
12 years ago
grokys
cd2b7530f5
Initial commit
12 years ago