Ivan Kochurkin
2cfa6f842e
Fixed @kekekeks notes.
Fixed test name (Line instead of Circle).
11 years ago
Ivan Kochurkin
b6c66c67e0
Added Line and LineGeometry for line drawing.
11 years ago
Steven Kirk
04b07b774b
Allow null DataTemplate.DataType.
11 years ago
Steven Kirk
adee104ad9
DropDown shouldn't be an IContentControl.
11 years ago
Steven Kirk
d9eee9fa4a
Make SelectionBoxItem a direct property.
11 years ago
Steven Kirk
14507beb41
Log invalid binding values in PriorityValue.
11 years ago
Wiesław Šoltés
74b67bd6f5
Make selected DropDownItem background same as ListBoxItem's
11 years ago
Steven Kirk
7adc902b99
Handle null content in TabControl.
11 years ago
Steven Kirk
d9f043b45d
Don't allow null logical or visual children.
And remove RedirectLogicalChildren which is no longer needed, or
desired.
11 years ago
Steven Kirk
1f7034c152
Undo visual offset in VisualBrush.
If the Visual to be drawn is offset from its parent, we don't want that
in the rendered visual.
11 years ago
Steven Kirk
2c9e1f8f7c
Correctly handle clicks outside Popups.
Set e.Handled = true on click outside Popup which removes the need for
the _closing stuff in DropDown.
11 years ago
Steven Kirk
880a97471c
Fix potential NRE.
11 years ago
Steven Kirk
f37c4a9059
Only close Popup when click is outside PopupRoot.
11 years ago
Steven Kirk
938e07422a
Invalidate TextBlock.FormattedText when attached to logical tree.
As inherited properties can change when this happens.
11 years ago
Steven Kirk
e1c578c7ec
Clear the intermediate render target.
This prevents the glitching we've been seeing in DropDown with a control
item. For some reason doing a FillRectange on it didn't work. Closes
#108 .
11 years ago
Steven Kirk
69cf02690d
Correctly report inherited values in diagnostics.
If an inherited value has a binding but that binding is returning unset
then return the inherited value.
11 years ago
Steven Kirk
0aa035e581
Make sure AttachedToLogicalTree is only raised once.
And add a check to make sure control is attached to logical tree before
detach - I *think* this should always be the case, though there may be
an edge case which triggers this exception, in which case do the same
for DetachedFromLogicalTree as we've done for AttachedToLogicalTree
here.
11 years ago
Steven Kirk
2b09f5f6d1
Fix DropDown dropping down.
Make clicking on an open DropDown close it, and wire up the ToggleButon.
11 years ago
Steven Kirk
3b5d338ea5
Added DropDownItem.
So that drop down items can be highlighted as they're hovered.
11 years ago
Steven Kirk
b5c9bc7266
Ensure items made visible when no transition set.
11 years ago
Steven Kirk
fd36871332
Make carousel page transition changable in catalog.
11 years ago
Steven Kirk
c49201b8cb
Added SelectingItemsControl.SelectionChanged event.
11 years ago
Steven Kirk
f0a8f45362
Removed hack from MenuItem.
ItemsPresenterHost now makes ItemsControls within popups a supported
scenario by default.
11 years ago
Steven Kirk
4845dfd0fa
Added IContentPresenterHost.
Similarly to how we now have IItemsPresenterHost.
11 years ago
Amer Koleci
e2ab8171b3
Update to SharpDX 3.0.0 official release.
11 years ago
Wiesław Šoltés
9b4ddce3b5
Fixed failing tests
11 years ago
Wiesław Šoltés
490d19f5ca
Fixes issue #382
11 years ago
Steven Kirk
59032dcff8
Make DropDown in ControlCatalog display correctly.
11 years ago
Steven Kirk
e85178e0c5
Unwrap TargetInvocationExceptions.
Calling Delegate.DynamicInvoke wraps any exception - we want to expose
the actual exception to callers.
11 years ago
Steven Kirk
c4ceebcfb3
Ensure Presenter template is applied...
...before updating ContentControl's logical children, as otherwise the
Presenter.Child may be null as UpdateChild has not yet been called.
11 years ago
Steven Kirk
567f0135ff
Make TemplatedParent inherit.
This means that we only need to set the TemplatedParent on the root of a
control's template, and on presenter children.
11 years ago
Steven Kirk
c810f95904
Don't ApplyTemplate on nested templated controls...
...during ApplyTemplate. This was so that ItemsControls could their find
ItemsPresenters nested in other templated controls. Instead use
IItemsPresenterHost to make the presenter register itself with its
TemplatedParent.
11 years ago
Steven Kirk
516a701e6b
Fixed ControlCatalog resources.
11 years ago
Steven Kirk
072cb0128e
Fixed failing tests.
11 years ago
Steven Kirk
7925fa8c65
Cache Margin in MeasureCore.
11 years ago
Steven Kirk
4ef9639f3e
Removed LINQ from MeasureOverride.
And removed empty MeasureOverride methods.
11 years ago
Nikita Tsukanov
630be0c6bf
Test app is running again
11 years ago
Steven Kirk
a7089515c5
Fixed culling bug with transforms.
11 years ago
Nikita Tsukanov
81f1bf51a8
Fixed #282
11 years ago
Steven Kirk
ce1ef2fd89
Make Carousel demo buttons work.
11 years ago
Steven Kirk
7ab944c0a5
Make GridSplitter.Orientation non-nullable.
As OmniXAML can't handle it.
11 years ago
Steven Kirk
2e161e5fcb
Fixed up control catalog sidebar.
11 years ago
Steven Kirk
c98254025f
Simplified TabControl style.
11 years ago
Steven Kirk
fe7fc66cc5
Fixed GridSplitter in DevTools.
11 years ago
Steven Kirk
9ad94743c0
Fix small layout bug with UseLayoutRounding.
11 years ago
Steven Kirk
9efbfc182e
Use IBitmap for Image.Source
And register converter for that interface. This is to conform with
ImageBrush.
11 years ago
Steven Kirk
1eb0fbb385
Further simplify StyleActivator.
The clever stuff was causing styles to fail and probably isn't needed
anyhow. Fixes #371 .
11 years ago
susloparov
ccf59b8690
GridSplitterTests
11 years ago
Steven Kirk
b4417e3bd6
Support loading bitmaps from resources.
Closes #358 .
11 years ago
Steven Kirk
416eb1d7a5
Respect negative margins when culling.
And make ClipToBounds = true as default on TemplatedControl to allow us
to cull more.
11 years ago