top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is Placement Mode and Explain Detail in XAML?

+1 vote
449 views
What is Placement Mode and Explain Detail in XAML?
posted Feb 18, 2015 by Sathish Kumar

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

The Following Example shows how the PlacementMode enumeration values help you place the Popup window and adjust its position when screen boundaries obscure its content.

PlacementMode = Absolute

A Popup control is positioned relative to the upper-left corner of the screen and offset by the HorizontalOffset and VerticalOffset properties.

PlacementMode = AbsolutePoint

A Popup control is positioned relative to the upper-left corner of the screen and offset by the HorizontalOffset and VerticalOffset properties.

enter image description here

PlacementMode = Bottom

A Popup control is positioned where the control aligns its upper edge with the lower edge of the PlacementTarget and aligns its left edge with the left edge of the PlacementTarget.

enter image description here

If the lower edge of the screen hides all or part of the Popup, the control realigns with the upper edge of the PlacementTarget. If the upper edge of the screen hides all or part of this new position, the control realigns with the lower edge of the screen. After these adjustments, if the control is still partially hidden by the upper edge of the screen, the control realigns with the upper edge of the screen.

enter image description here

PlacementMode = Center

A position of the Popup control where the control centers itself over the PlacementTarget.

enter image description here

answer Feb 19, 2015 by Jdk
Similar Questions
+1 vote

I need to know the XAML binding Properties and its description it will used for identify how to use binding in windows phone application??

...