Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8038007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:05:39+00:00 2026-06-05T03:05:39+00:00

In our project we have created a custom control with some dependency properties. On

  • 0

In our project we have created a custom control with some dependency properties. On the xaml page where we are using this control we are binding the BoundingRectangle property of the Map control to this custom control so we can use these LocationRect object in our custom control.

When we are debugging this, we see that every property in the BoundingRectangle (North, NorthEast etc) all have the same location. If we are checking the properties on the map, than we see that these properties are not all the same. (as expected)

I have attached a change callback to the dependencyproperty, and also there I see all properties have the same value. However, if I bind the Center property than I see it update correctly.

We are binding the property on the custom control like this:

<CustomControls:MiniMap Name="SmallMap" BoundingBox="{Binding ElementName=Map, Path=BoundingRectangle}" />

And this is our dependency property:

 public static readonly DependencyProperty BoundingBoxProperty =
            DependencyProperty.Register("BoundingBox", typeof(Location), typeof(MiniMap), new UIPropertyMetadata(new LocationRect()));

Anyone knows why the BoundingBox property is not updated when the LocationRectangle is updated on the Map?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:05:41+00:00Added an answer on June 5, 2026 at 3:05 am

    Checked the documentation as fmunkert suggested and found out the BoundingBox on the Bing maps controls is not a dependency property.

    We have created a custom map which implemented the ViewChanged event and updates our own dependency property, which we can now use to bind to our other control.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are using jQuery in our project. We have numerous custom javascript files in
I'm using this jquery plugin ajaxFileupload in our project. My design is I have
For our project I have created a framework on top of the PHPUnit framework
We have a project where a vendor produces some custom code for us and
I have been using an open source Java project and had to make some
In our web project, we have a custom Database Connection class that creates the
We have some HTTP handlers specified in our web.config. When we were running this
I have created a code generator for our project to generate a lot of
I have added some custom actions to our installer which is run on CE5
I want to apply NTFS-Search to our project. Our project have to find the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.