No announcements
Found 2270012 threads
-
1 Votes
How to position a textBlock in the Canvas
How about if I need to set the center of the textblock along a predefined X location?Answered | 8 Replies | 31560 Views | Created by Bli11 - Tuesday, September 23, 2008 2:04 PM | Last reply by DutchMarcel - Thursday, September 25, 2008 6:59 AM -
1 Votes
Mouse Position on Canvas
Look into UIElement PointToScreen method that give absolute positions from screen (0, 0).Answered | 5 Replies | 12338 Views | Created by WPF_NEWBIE - Tuesday, January 27, 2009 5:34 PM | Last reply by Bigsby - Friday, February 6, 2009 2:24 PM -
2 Votes
Stylus position on canvas
https://msdn.microsoft.com/en-us/library/system.windows.uielement.stylusdown(v=vs.110).aspx I think you can then do getposition(canvas).Answered | 4 Replies | 634 Views | Created by JH_Levasseur - Friday, August 25, 2017 12:57 AM | Last reply by Yong Lu - Monday, August 28, 2017 1:21 AM -
0 Votes
set position in canvas
To set a Canvas child position you need to set one or more of the Attached Properties Canvas.Top, Canvas.Buttom, Canvas.Left, Canvas.Right or on the other hand to set its Margin.Answered | 2 Replies | 4046 Views | Created by Vineeth Paliath - Thursday, October 16, 2008 4:12 AM | Last reply by Vineeth Paliath - Thursday, October 16, 2008 8:10 AM -
0 Votes
Get the position of a control on a canvas
Can't you use Canvas.Top and Canvas.Left to get the positions?Answered | 1 Replies | 3695 Views | Created by Rayne Reid - Thursday, July 29, 2010 2:01 PM | Last reply by wjousts - Thursday, July 29, 2010 2:48 PM -
0 Votes
need a way to identify the TextBlock general position
Setting the TextBlock on the specific position. #2: there is no Grid panel, it is a StackPanel out of the TextBlock, even if we can set the attached ...Answered | 2 Replies | 3246 Views | Created by Kelmen - Friday, August 13, 2010 3:49 AM | Last reply by Jie Bao - Thursday, August 19, 2010 7:19 AM -
0 Votes
how to insert an object to extreme right of canvas
ActualWidth indicates the actual width of the canvas.Answered | 3 Replies | 1654 Views | Created by Chetan shamdasani - Thursday, September 20, 2012 4:10 PM | Last reply by JaysonGo - Tuesday, September 25, 2012 1:58 PM -
1 Votes
How To Position a Ruler Above an Element On a Canvas
I'm also so curious as to how liangtom was able to place a picture of the canvas with the rectangle and the ruler above (where the xaml code is)!Answered | 10 Replies | 7944 Views | Created by ritagreen - Wednesday, March 11, 2009 9:58 PM | Last reply by ritagreen - Thursday, March 19, 2009 6:25 PM -
0 Votes
Adding Text (TextBlock) to existing Window
Grid basically uses Row and Column definitions, while Canvas uses absolute positioning based on coordinates.Answered | 4 Replies | 3659 Views | Created by dodge55 - Wednesday, August 18, 2010 5:57 PM | Last reply by dodge55 - Wednesday, August 18, 2010 9:07 PM -
0 Votes
Printing Canvas
If they are dynamic, you should position elements in a canvas using the cavas.left and top attached properties, like: Canvas.SetTop( ...)Answered | 4 Replies | 806 Views | Created by rpirozhkov - Friday, August 28, 2015 10:46 AM | Last reply by rpirozhkov - Friday, August 28, 2015 11:58 AM -
2 Votes
How to add children to a canvas dynamically in mvvm?
>How can I make it show the circles (shapes) and the textboxes in the ItemsControl, the way it was showing in the canvas before implementing ItemsControl?Answered | 9 Replies | 18752 Views | Created by Bhupinder Singh (Mech. Eng.) - Friday, October 30, 2015 2:34 PM | Last reply by Andy ONeill - Tuesday, November 3, 2015 9:56 AM -
0 Votes
How to resize a rotated canvas?
And should I set a correct tranformation for its(the cards' ) parent canvas?Answered | 7 Replies | 3653 Views | Created by xdxiaoxin - Tuesday, October 7, 2008 8:56 PM | Last reply by xdxiaoxin - Friday, October 10, 2008 4:09 PM -
0 Votes
Positioning the IME popup when typing on a Canvas
I'll go ahead and put in a feature request on Connect to allow for positioning the UI from inside WPF.Answered | 4 Replies | 4108 Views | Created by John Dunn - Tuesday, March 24, 2009 6:23 PM | Last reply by John Dunn - Wednesday, March 25, 2009 6:01 PM -
0 Votes
Keep item within canvas
When a manipulation start on a scatterview item you can treack the position of the Center of your scatterview, then by knowing Height and Width you can know its ...Answered | 5 Replies | 2611 Views | Created by _c_h_r_i_s - Wednesday, June 27, 2012 3:07 PM | Last reply by Serge Calderara - Thursday, June 28, 2012 12:10 PM -
0 Votes
How to use XAML to share some of the properties of multiple TextBlocks
If the TextBlocks are not within a Canvas using Canvas.Left/Right will have no effect.Answered | 3 Replies | 311 Views | Created by MRUTYUNJAYA.M - Friday, August 3, 2018 10:50 AM | Last reply by sqlguy - Friday, August 10, 2018 4:46 PM -
0 Votes
Canvas Sizing
How about using a ScaleTransform ?Answered | 3 Replies | 490 Views | Created by theresonlyonefinmaf - Friday, June 17, 2016 4:04 PM | Last reply by theresonlyonefinmaf - Wednesday, July 6, 2016 11:08 AM -
0 Votes
How to draw text on Canvas
The Canvas is a general purpose Panel.Answered | 1 Replies | 1741 Views | Created by Yan Cheng Cheok - Wednesday, October 31, 2012 5:15 AM | Last reply by Rob Caplan [MSFT] - Wednesday, October 31, 2012 5:26 AM -
0 Votes
Help with Animation of TextBlock in Window
Hi Cicero564, No problem you can have the Grid and the Canvas inside the GridCell: <Grid> <Grid.RowDefinitions> ...Answered | 3 Replies | 3504 Views | Created by Cicero564 - Thursday, September 3, 2009 10:26 PM | Last reply by Federico Benitez - Friday, September 4, 2009 12:06 AM -
0 Votes
[WP8.1] Get new position, relative to Canvas, of a rotated Rectangle
>I wanted to experiment with the answer from this question but IntersectWith is not available Yes, there is no replacement API in WINRT app, there are only two ...Answered | 2 Replies | 555 Views | Created by JPSavard - Saturday, October 17, 2015 12:48 PM | Last reply by Franklin Chen - Monday, October 19, 2015 9:02 AM -
1 Votes
How to position a Popup Window
<UserControl x:Class="WpfApplication5.UserControl1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" ...Answered | 7 Replies | 3721 Views | Created by Serge Calderara - Friday, August 17, 2012 9:08 AM | Last reply by Sheldon _Xiao - Tuesday, September 4, 2012 9:06 AM - Items 1 to 20 of 2270012 Next ›
No announcements