Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - XAML Image tag
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XAML Image tag

 Post Reply Post Reply
Author
Message
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Topic: XAML Image tag
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 21 May 2008 at 8:31am
Hi,
 
have work.  Show XAML you tried.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 22 May 2008 at 8:37am
Yes.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
gerrysweeney View Drop Down
Newbie
Newbie
Avatar

Joined: 27 May 2008
Location: United Kingdom
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote gerrysweeney Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
gerrysweeney View Drop Down
Newbie
Newbie
Avatar

Joined: 27 May 2008
Location: United Kingdom
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote gerrysweeney Quote  Post ReplyReply Direct Link To This Post Posted: 29 May 2008 at 8:17pm
Sorry, I found the MarkupPad and samples, I have what I need.  thanks
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.