TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mark Payton
NA
3
787
Set properties via a file
Aug 1 2016 5:28 PM
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
Reply
Answers (
3
)
Open Source Project in C#
Object reference not set to an instance of an object (byte[]