Using Enumerated Properties on User Controls
In this example we’re going to create a user control with an enumerated property that you will be able to choose via Intellisense. I’m going to begin by creating my user control NewsHeadline.ascx: Then in my code behind I’ll create an enumeration that contains all of…