WPF Positioning deals with placement of elements within a WPF application.
Questions tagged [wpf-positioning]
37 questions
0
votes
1 answer
Custom Panel implementation: Take into account the size of the Panel's children when arranging
I'm working on a custom WPF Panel that works similar to a Canvas except that the placements of its children are expressed as percentages instead of absolute offsets. The Panel, which I'm calling PercentageCanvas would be used like so:
…

Nathan Friend
- 12,155
- 10
- 75
- 125
0
votes
1 answer
0
votes
1 answer
Positioning UIElement in Custom Control
I am developing a Custom Control, where there is a TextBox and a Button placed inside the Grid.
The thing is when I set a Custom Property for the UserControl Say - Left : the Button should be displayed before the TextBox, and for Right the Button…

Arun Selva Kumar
- 2,593
- 3
- 19
- 30
0
votes
2 answers
XY coordinates of WPF button move on runtime?
I got a pretty weird behavior of my WPF application: the XY position of my button on runtime seems to be divergent to that when I set it in my xaml-Editor of Visual Studio (is there a name for it btw?)
It has no alignments set or panels around it, i…

Pascal Weber
- 557
- 3
- 11
- 19
0
votes
1 answer
wpf mvvm add bezier curves to canvas
I'm creating a BezierSpline Editor to make custom animation easing functions.
The user will have the possibility to add beziercurve parts to create his own easing function.
I have a MainWindow with 2 usercontrols DesignerControl and InfoControl…

Julien
- 187
- 1
- 2
- 13
-1
votes
1 answer
WPF - Expand control from left edge to window edge
I am currently working on a screen (C#/WPF) which uses a Popup control as a tooltip in order to provide additional functionality (such as copy & paste of data). The popup shows when hover of a cell in grid view. What I am trying to accomplish is…

Dominick
- 322
- 1
- 3
- 16
-1
votes
1 answer
1 and 7 are mixed up in the textbox and textblock in the entire wpf aapplication
In my Wpf application when ever 1 and 7 appears adjacently like 178 or 217 in the textbox or textblock they are mixed up. Thanks for any help in advance
![enter image description here][1]

user3015602
- 9
- 2