Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
Set properties via a file
Mark Payton
Aug 1 2016 5:28 PM
364
Reply
Hi All,
I have an app which reads an XML file, part of that file holds elements which should direct the app how to present the information.
So, I have a <TextData> tag which encapsulates "Hello World", but I want to put something in the attributes which when read by the app will interpret the alignment of that text so that it could perform something like
ContentAlignment.MiddleCenter
,
I could put something in the app which will test for each ContentAlignment type, but I was wondering if there was any kind of shortcut I could use.
Thanks in advance.
Mark
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
Open Source Project in C#
Object reference not set to an instance of an object (byte[]