wpf-positioning Questions

6

Solved

I'd like to have a WPF window open in the top right part of the screen. Right now I can achieve that by opening the window and then moving it (via movewindow in user32.dll). However, this approac...
Maurey asked 9/10, 2009 at 18:5

6

Solved

I would like to get the absolute position of an element in relation to the window/root element when it is double clicked. The element's relative position within it's parent is all I can seem to get...
Citystate asked 22/12, 2008 at 16:57

4

Solved

How can I center an element in wpf canvas using attached properties?
Chatman asked 5/2, 2010 at 17:16

1

Solved

My mainwindow ViewModel has an ObservableCollection of ViewModels, called ViewModels. The Mainwindow XAML has an ItemsControl with ItemsSource bound to ViewModels. When I have <ItemsControl ...
Precipitation asked 10/3, 2011 at 15:10

1

Solved

I have a canvas and a red rectangle laid on it. Rectangle has a MouseDown event handler implemented: private void RedRectangle_MouseDown(object sender, MouseButtonEventArgs e) { CreateMyBorder(...
Dhiman asked 23/12, 2010 at 23:28

1

I am trying to position an Adorner depending on the dimensions of the parent of the adorned element. For example, I have a textbox. I want to adorn this textbox so it looks something like this: h...
Misreport asked 5/1, 2010 at 2:32

1

Solved

I am using a wpf slider to display the time line in a video player. I need to add an ItemControl of some sort on top of this so that I can add buttons on the time line on certain positions in the t...
Bratislava asked 9/3, 2010 at 9:55

1

Solved

I am trying to place a Popup element in a specific position, relative to the Placement control. In order to achieve that I need to find out the ActualWidth of the popup control. But trying to get...
Arst asked 30/7, 2009 at 12:11
1

© 2022 - 2024 — McMap. All rights reserved.