mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-20 22:05:07 +00:00
MapPanel implementation
This commit is contained in:
parent
6d2ba9ede7
commit
7637210211
4 changed files with 15 additions and 10 deletions
|
|
@ -17,6 +17,8 @@ namespace MapControl
|
|||
public static readonly AttachedProperty<BoundingBox> BoundingBoxProperty =
|
||||
DependencyPropertyHelper.RegisterAttached<MapPanel, BoundingBox>("BoundingBox");
|
||||
|
||||
protected IEnumerable<Control> ChildElements => Children;
|
||||
|
||||
static MapPanel()
|
||||
{
|
||||
AffectsParentArrange<MapPanel>(LocationProperty, BoundingBoxProperty);
|
||||
|
|
@ -41,8 +43,6 @@ namespace MapControl
|
|||
element.RenderTransformOrigin = new RelativePoint(originX, originY, RelativeUnit.Relative);
|
||||
}
|
||||
|
||||
protected IEnumerable<Control> ChildElements => Children;
|
||||
|
||||
private static void SetVisible(Control element, bool visible)
|
||||
{
|
||||
element.IsVisible = visible;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue