LifestyleAttribute public abstract class LifestyleAttribute : Attribute Base for Attributes that want to express lifestyle chosen by the component. Documentation Code public LifestyleType Lifestyle { get; set; } Gets or sets the lifestyle. protected LifestyleAttribute(LifestyleType type) Initializes a new instance of the LifestyleAttribute class.