Print Page | Close Window

XAML Image tag

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=10719
Printed Date: 16 June 2024 at 4:36pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XAML Image tag
Posted By: terrym
Subject: XAML Image tag
Date Posted: 21 May 2008 at 8:21am
We are using the new Markup features for CXTPTaskDialog however for some reason we cant get the:
 
HorizontalAlignment tag to work for images??? Has this not been implemented :( and if not, will this be added to a future version
 


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey



Replies:
Posted By: Oleg
Date Posted: 21 May 2008 at 8:31am
Hi,
 
have work.  Show XAML you tried.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: terrym
Date Posted: 21 May 2008 at 8:33am
Originally posted by oleg oleg wrote:

Hi,
 
have work.  Show XAML you tried.
 

<TextBlock>My Text<LineBreak/><LineBreak/><Image HorizontalAlignment='Center' Source='1'/></TextBlock>



-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey


Posted By: Oleg
Date Posted: 21 May 2008 at 2:36pm
HI,
 
you have it inside TextBlock - there is no space to change its layout.
 
Use StackPanel:
 
<StackPanel>
<TextBlock>My Text</TextBlock>
<Image HorizontalAlignment='Center' Source='1'/>
<TextBlock>End Text</TextBlock>
</StackPanel>


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: terrym
Date Posted: 21 May 2008 at 6:52pm
Works great, cheers.
 
Do you recommend any quality books for learning XAML?
 


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey


Posted By: Oleg
Date Posted: 22 May 2008 at 1:56am
Hi.
 
There are not much supported Tags now to learn full XAML :-(
 
Check MarkupGuide in Help folder maybe it will be enough.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: terrym
Date Posted: 22 May 2008 at 4:50am
Ok sure, will you support more and more XAML that is useful over time??? just so we know for future reference.
 
Cheers
 


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey


Posted By: Oleg
Date Posted: 22 May 2008 at 8:37am
Yes.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: gerrysweeney
Date Posted: 29 May 2008 at 8:07pm
Originally posted by oleg oleg wrote:

Hi.
Check MarkupGuide in Help folder maybe it will be enough.
 
Hi,
 
The help file shows a big example of a welcome page in a dev style interface, is this a sample that you have the XAML for? and if so, could you post the sample?
 
Thanks
 
Gerry


Posted By: gerrysweeney
Date Posted: 29 May 2008 at 8:17pm
Sorry, I found the MarkupPad and samples, I have what I need.  thanks



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net