Print Page | Close Window

Changing properties of tags

Printed From: Codejock Forums
Category: General
Forum Name: XAML Snippets
Forum Description: Post your XAML snippets here for everyone to enjoy :)
URL: http://forum.codejock.com/forum_posts.asp?TID=13081
Printed Date: 25 April 2024 at 7:33pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Changing properties of tags
Posted By: BobWansink
Subject: Changing properties of tags
Date 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++



Replies:
Posted By: Oleg
Date Posted: 07 January 2009 at 3:14pm
Hi,
 
its CXTPMarkupCanvas static method:
 
CXTPMarkupCanvas::SetLeft(pElement, 592);


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



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