Codejock Forums Homepage
Forum Home Forum Home > General > XAML Snippets
  New Posts New Posts RSS Feed - Changing properties of tags
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Changing properties of tags

 Post Reply Post Reply
Author
Message
BobWansink View Drop Down
Groupie
Groupie
Avatar

Joined: 24 January 2008
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote BobWansink Quote  Post ReplyReply Direct Link To This Post Topic: Changing properties of tags
    Posted: 06 January 2009 at 7:26am
Hi everyone,

I've got another question regarding XAML. After having been parsed, I can now use FindName to retrieve the CXTPMarkupObject that I would like to change. I can then set things like Width, Padding or Bordercolor, but is it possible to change things like:

Canvas.Left="40"

into

Canvas.Left="592"

e.g. Can I modify properties that aren't part of the Object's own attributes?

Thanks in advance!

Bob
     Product: Xtreme ToolkitPro (MFC) version 13.0.0
     Platform: Windows (32bit) - XP - Vista
     Language: Visual C++
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: 07 January 2009 at 3:14pm
Hi,
 
its CXTPMarkupCanvas static method:
 
CXTPMarkupCanvas::SetLeft(pElement, 592);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.188 seconds.